CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode BaseOutput_SetTimeStampSystemTime ( CPHOBJECT const  hBaseOutput,
SystemTime const  time 
)

Set the timestamp to System Time value.

Parameters
[in]hBaseOutputOutput or controller handle
[in]timeThe position expressed as a 64 bits number. Unit is 1 us.
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
CAUTION: this method does not flush data. Possible multipart pending messages will be sent using the previous timestamp information.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.