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.
User Input / Configuration
-
Morning,
So I have a task to do some calculations on various data point with user configurable scalar variables.
I am imagining right now that I can create some meta data points, and set the value of these points to a constant, and then use those as the variables for other meta data point calculations.
My question is, how might I allow a user to adjust the value of the static scalar meta data points?
Or, is there a better way to do this?
Thanks,
Alex -
I dont see anything wrong with this method. You will have the added advantage of being able to trend the variables. If a point is made settable. One can set it on the data point details page. If you plan on making a UI where they can set the points and preview the outcome then you will use
<ma-set-point-value point="myPoint"></ma-set-point-value>
In your HTMLEdit: forgot to mention virtual data points will work best for the variables.
-
Great, thanks for the pointer to
<ma-set-point-value point="myPoint"></ma-set-point-value>
that is what I needed.
Are virtual data points different than meta data points?
Thanks,
Alex -
Thanks Craig!
Alex,
Are virtual data points different than meta data points?
Yes, briefly,
Virtual points can:
- Have simple change types to simulate data easier.
- Performs a 'change' when refresh point value is called
- Not be polled so that they're only user updated (data source setting)
While Meta points can
- Have a script executed on cron patterns or from point events (updated, changed, logged)
- Have a script executed when the point's value is refreshed
return UNCHANGED;
to not update their value
So very different!