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.
Writing Java script in Mango
-
Hello everyone,
I'm trying to write a simple program to take the average of a punch of points and that average will be a point on it's own. I've seen examples of users writing Java script but I don't understand where they are writing.
Any help would be appreciated.
-
Hi Stephen,
There are two places you can write scripts and both are accessed on the Data Source page.
On the Data Source drop down you should see a option for "Meta" and one for "Scripting" For your purpose you probably want to use the Meta Data Point by first creating the data source. Here is a link to the documentation: http://infiniteautomation.com/wiki/doku.php?id=automation:meta_data_points
-
Great thank you!