NI-TClk C Function Reference

niTClk_Initiate

  • Updated2023-02-21
  • 1 minute(s) read

Specific Function

ViStatus niTClk_Initiate (ViUInt32 sessionCount, ViSession sessions []);

Purpose

Initiates the acquisition and/or generation sessions that you specify. This function also processes any special requirements that are needed for the synchronization.

For example, the session that exports the TClk-synchronized Start Trigger is not initiated until after the niTClk_Initiate function initiates all the sessions that import the TClk-synchronized Start Trigger.

Parameters

Input
Name Type Description
sessionCount ViUInt32 Specifies the number of elements in the sessions array.
sessions ViSession [] Specifies the array of session references that are being synchronized. Obtain session references from the instrument driver by using the <driver name> Get Session Reference function, where <driver name> is the name of the instrument driver. Example: niScope_GetSessionReference.

Return Value