NI-TClk Synchronization in a Single PXI Chassis or a Single PC with Heterogeneous Triggers

NI-TClk Synchronization

NI-TClk
Synchronization in a Single PXI Chassis or a Single PC with Heterogeneous Triggers

If you are synchronizing several NI modular instruments with heterogeneous triggers in a single PXI chassis or a single PC, then use the instrument driver functions to route the triggers so that the triggers can be shared, and use the NI-TClk VIs or functions and properties or attributes listed in the following table.

LabVIEW VI C Function
niTClk Synchronize VI niTClk_Synchronize
niTClk Initiate VI niTClk_Initiate
(optional)
niTClk Is Done VI
or
niTClk Wait Until Done VI
(optional)
niTClk_IsDone
or
niTClk_WaitUntilDone
N/A niTClk_GetExtendedErrorInfo

Also, use the NI-TClk properties or attributes listed in the following table to specify how the triggers are shared between devices.


LabVIEW Property C Attribute
Start Trigger Master Session NITCLK_ATTR_START_TRIGGER_MASTER_SESSION
Reference Trigger Master Session NITCLK_ATTR_REF_TRIGGER_MASTER_SESSION
Script Trigger Master Session NITCLK_ATTR_SCRIPT_TRIGGER_MASTER_SESSION
Pause Trigger Master Session NITCLK_ATTR_PAUSE_TRIGGER_MASTER_SESSION

Note  Before using these NI-TClk VIs or functions, verify that your system is configured as specified in PXI Trigger Lines and RTSI Lines.

When the sample clock rates, sample clock timebase rates, and/or the sample counts are different in acquisition sessions sharing the reference trigger, you should also set the holdoff attributes for the reference trigger master using the instrument driver.

Programming Examples

During the instrument driver installation, NI-TClk programming examples were installed along with programming examples for the instrument driver. To access these examples, navigate to Start»Programs»National Instruments»<driver name>»Examples.