To download NI software, including the products shown below, visit ni.com/downloads.
Using multiple S-series or X-series cards, I want to simultaneously acquire data. However, I also need to use an external clock source. This example shows there is a way to simultaneously acquire the data on multiple cards while using an external clock source.
By wiring through the PXI_Trig lines, you are able to use an external clock source as your sample clock. Channel expansion takes care of simultaneously sampling on multiple devices in the background. This code shows a typical setup that you could use, although in this example, the external clock is provided to the PXI_Trig line from a counter
Steps to implement or execute code
To implement this example:
To execute this example:
LabVIEW 2012 or compatible
NI-DAQmx 9.0 or compatible
PXI Chassis with multipe DAQ Devices and Counter Module
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.