Example Code

Synchronize a PXI DSA, M and S Series Card Using LabVIEW with DAQmx

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview

The following example program synchronizes a PXI DSA, M and S series card.


Description
The following example program synchronizes a PXI DSA M and S series card, DSA and M series are synchronized by sharing a time base, and the S series is synchronized by sharing a sample clock. All three cards share am AI start trigger coming from the DSA board. The DSA board has a "pre-read" because the delta sigma ADC passes a few samples through a FIFO before you get your true first sample.


Requirements

  • LabVIEW 2012 (or compatible)
  • NI-DAQ 12.0 (or compatible)


Steps to Implement or Execute Code

  • Select the device or physical Channels you pick.
  • Enter the sample parameters such as minimum and maximum value and sample rate.
  • Hook up a common signal such as a sine wave to all three.
  • Run the program

 

Additional Information or References
VI Snippet

3-218.png

**This document has been updated to meet the current required format for the NI Code Exchange.** 

Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.