CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode Output_Clock_Tick ( CPHOBJECT const  hOutput,
CPUINT16 const  wTickCount 
)

Send a clock tick.

Parameters
[in]hOutputOutput handle
[in]wTickCountOptional Tick count ([0..resolution-1], 0xFFFF if not applicable)
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
Only available if the Output has the IOC_Clock capability
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.