WireWare native: WireWare UpdateDatapoint

From FactorityWiki

Jump to: navigation, search

Contents

Summary

Updates the cached contents of a datapoint.


WIREWARE_RESULT WireWare_UpdateDatapoint (
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 updates the cached contents of the datapoint, which is referred to by the handle.

See also

WireWare_OpenDatapoint, WireWare_OpenDatapointBulk, WireWare_CloseDatapoint