To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example synchronizes a cDAQ analog measurement with a E-Series analog measurement.
Description
This example accomplishes this by using a counter task sourced from the E-series card as the sample clock for both the E-Series card and the cDAQ. The overall idea of this configuration is to configure an analog task for both the cDAQ and E-Series module. The trick is to use the internal counter output on the E-Series to source the sample clock for the E-Series acquisition and to physically connect the external counter output to a PFI line on the cDAQ. By starting the analog tasks first they will wait for the first tick of the sample clock that will commence the sampling simultaneously on the cDAQ and the E-Series card.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**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.