WireWare native: WireWare CloseDatapointStream

From FactorityWiki

Jump to: navigation, search

Contents

Summary

Closes a datapoint stream.


WIREWARE_RESULT WireWare_CloseDatapointStream (
WIREWARE_DATAPOINT_STREAM_HANDLE handle // handle for datapoint stream
WIREWARE_TIMEOUT timeout // timeout in ms
);

Parameters

handle
Specifies the handle for the datapoint stream.
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.


Explanation

This function closes a datapoint stream.

See also

WireWare_OpenDatapointStream, WireWare_ReadDatapointStream, WireWare_WriteDatapointStream