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!