createPoint
createPoint — creates a DataHub point.
ST_STATUS createPoint( | point); |
CDataHubPoint& point;ST_STATUS createPoint( | pointname); |
LPCTSTR pointname;Exception createPoint( | point); |
DataHubPoint point;Exception createPoint( | pointname); |
String pointname;pointA
DataHubPoint object. The name
member must be valid.
pointnameThe name of the point.
ST_OK if the command was successfully sent to the
DataHub instance. Since the command is sent asynchronously, the actual
success or failure of the command must be determined through the onSuccess
or onError message handlers.
ST_NO_TASK if a connection to the DataHub instance
does not exist.
ST_ERROR if the connection socket is unable to
send the message.
This method creates a DataHub point. The point quality is set to
PT_QUALITY_BAD and the timestamp is set to
0. The point type and value are undefined.