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

Set clock description.

Parameters
[in]hOutputOutput handle
[in]wBPMBPM value (0xFFFF if not applicable, default value = 0xFFFF)
[in]bCPQNMultiplierClock resolution = 24 * bCPQNMultiplier (default value = 1)
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.