• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mariealtin

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    mariealtin

    @mariealtin

    0
    Reputation
    200
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mariealtin Unfollow Follow

    Latest posts made by mariealtin

    • RE: How to find source name in pointlink

      Hi phildunlap

      Thank you for your reply - it would be great if this information could be readily available from within the source/target objects but this solution should do the trick - I'll try it out.

      posted in Scripting general Discussion
      M
      mariealtin
    • How to find source name in pointlink

      Newbie here:

      I am trying to setup a pointlink between datapoints of two different datasources. The source point is a numeric value, which must return a string value. I need the source datapoint name to appear in the string as well - I.e. if my source datapoint name is point1, the return string will be point1_1 -
      but I want to implement programmatically something like this:

      var x = source.value;
      if(x == 1.0)
          return [sourcename]+'_1';
      else
          return [sourcename]+'_0';
      

      Is there a way to achieve this? Our production setup will have around 400 of these pointlinks so it's really not practical to let the client manually input the datapoint name for each of these strings.

      Thanks

      posted in Scripting general Discussion
      M
      mariealtin