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.
Meta Datasource, problem with setting points
-
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
-
You can't set points with the Meta Data Source. You need to use the Scripting Data Source for this.
-
Hi JoelHaggar,
It solves my problem.
Thank you very much!