To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to syhncronize a digital generation using DAQmx with an AWG generation and a Scope acquisition.
Description
The AWG generates a waveform after a digital trigger is detected; the waveform has the first 100 samples set to 0. The AWG exports its sample clock and a marker event on two TTL lines in order to be used by the DAQ board for syncronization purposes.
The DAQ board generates a pattern with the first 100 samples set to 1, so it's easy to verify on the graph that the two generated signals are synchronized.
The Scope acquisition is also syncronized with the AWG generation using NI TClk technology.
Requirements
Software
Hardware
Steps to Implement or Execute Code
1. Download the Attached VI.
2. Open it with LabVIEW 8.6 or later
3. Choose the desired AWG, Scope, and DAQmx cards
4. Run the VI
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.