WireWare native: WireWare CloseDatapoint
From FactorityWiki
Contents |
Summary
Closes a datapoint.
WIREWARE_RESULT WireWare_CloseDatapoint (
| WIREWARE_DATAPOINT_HANDLE | handle | // handle for datapoint | |
| WIREWARE_TIMEOUT | timeout | // timeout in ms |
);
Parameters
| handle |
Specifies the handle for the datapoint.
|
| timeout |
Specifies the maximum allowed execution time (in ms) for this function.
|
Result
If the function succeeds, the return value is WIREWARE_ERROR_NONE. Otherwise it returns an appropriate error code.
If the function returns WIREWARE_ERROR_HANDLE_MEANINGLESS, the connection dropped and has to be closed.
Explanation
This function closes a datapoint.
See the documentation for WireWare_InvalidateMachineHandleas well.
See also
WireWare_OpenDatapoint, WireWare_OpenDatapointBulk, WireWare_InvalidateMachineHandle
