Each value stored in the Cogent DataHub is called a point. A point has the following attributes:

  • Name - A character string. Currently the only limit on length is internal buffer size, about 1000 bytes by default.
  • Value - An integer, floating-point number, or character string.
  • Timestamp - The date and time of the last significant change to the point's value, quality or other status information.
  • Quality - The quality of the connection, assigned by the Cogent DataHub for this point, such as Good, Bad, Last known, Local override, etc.

DataHub WebView supports both local and server-side data points. Local data points are managed by the WebView client and do not persist. Server-side data points are managed by the Cogent DataHub.

Most often, you will work with point values. However, you can also work with the point object to access the other attributes. To work with the point as an object, you work with the _members--#p:IVqt properties.

You can use the following script functions to work with data points:

VALGets the value of the named point.
GETGets the named point as an object. Supports both the IVqt and IDataTable interfaces.
SETSets the value of the named point.
WV.GetPointNamesGets an array of point names using the specified criteria.
WV.GetPointGets the named point as an object. Supports the IVqt interface.