Differences
This shows you the differences between two versions of the page.
— |
jsapi:getvalue [2025/04/30 03:24] (current) optrix created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====GetValue=== | ||
+ | The **GetValue** function is part of the [[HMITTPanel|HMITTPanel]] class used to connect to live ARDI data. | ||
+ | |||
+ | It gets the most recent value for a named data point. Note that this point is //not// animated. | ||
+ | |||
+ | If no value has been received for that point yet, the function will return ' | ||
+ | |||
+ | ===Parameters=== | ||
+ | |||
+ | ^Name^Type/ | ||
+ | |Point|String|The name of the data point, made up of the asset name/ | ||
+ | |Default|Any (null)|The value to return if no data values have arrived yet| | ||
+ | |||
+ | ===Notes=== | ||
+ | |||
+ | This function should be called as part of the callback function passed to [[Sub|Sub]]. |