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

Set timestamp from Global Synchronized Clock (unit is 1us).

Parameters
[in]hBaseOutputOutput or controller handle
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.