The Data API provides a set of functions for creating, setting and monitoring data values, searching data lists and creating and setting data control points.
Data Values
Data values are numeric integers that you can register with the Data framework so that users can monitor them in the data panel and in the Dashboard. The steps for registering a new data value are as follows:
- Register a data provider with DataRegisterDataProviderV1 or DataRegisterDataProviderV2
- Implement the appropriate DataProviderInterfaceV1 or DataProviderInterfaceV2 interface
- Register a watchable data value with DataRegisterWatchableValue
When the framework needs to perform an operation on your registered data value it will call your DataProviderInterface.