GetValue
The GetValue function is part of the 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 'null' unless a default value is specified.
Parameters
Name | Type/Default | Use |
---|---|---|
Point | String | The name of the data point, made up of the asset name/identifier, a period (.) and the name of the property. |
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.