NI-TClk C Function Reference

niTClk_Synchronize

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

ViStatus niTClk_Synchronize (ViUInt32 sessionCount, ViSession sessions [], ViReal64 minTime);

Purpose

Synchronizes the TClk signals on the given sessions. After the niTClk_Synchronize function executes, the TClk signals from all the sessions are synchronized.

Note  Before using the niTClk_Synchronize function, verify that your system is configured, as described in the PXI Trigger Lines and RTSI Lines topic.

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.
minTime ViReal64 Specifies the minimum TClk period, in seconds. Valid values are 0.0 s to 0.050 s (50 ms), inclusive. The minimum period for a single chassis/PC is 200 ns. If the specified value is less than 200 ns, NI-TClk automatically coerces the minimum TClk period to 200 ns. For multichassis synchronization, adjust this value to account for the propagation delays through the various devices and cables.

Return Value