• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Meta Datasource, problem with setting points

    Scheduled Pinned Locked Moved User help
    4 Posts 2 Posters 1.8k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      liquidus
      last edited by

      Hello,

      i want to set a virtual-data-point with a meta-data-point, but it doesn´t work.

      My script:
      var tt = p10.value - p5.value;
      if (tt >= 5) {
      p14.set(10);
      }
      else p14.set(20);
      return tt;

      The script compares 2 onewire-data-point temeratures (P10 and P5) and should set the P14 virtual-data-point (settable and numeric).
      What is wrong?

      Best regards

      Attachment: download link

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ Offline
        JoelHaggar
        last edited by

        You can't set points with the Meta Data Source. You need to use the Scripting Data Source for this.

        1 Reply Last reply Reply Quote 0
        • L Offline
          liquidus
          last edited by

          Hi JoelHaggar,

          It solves my problem.

          Thank you very much!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post