Example Code

HSDIO: Dynamic Generation and Acquisition with File IO

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

  • Modular Instrumentation

    Software

  • LabVIEW

    Driver

  • Other

Code and Documents

Attachment

Overview
    This example demonstrates how to perform a source synchronous dynamic generation and acquisition on a single high speed digital device.


Requirements
    Software
        LabVIEW 2012 (or compatible)
        NI-HSDIO driver which is compatible with your hardware and version of LabVIEW
    Hardware
        NI-HSDIO devices


Instructions
    1.Before running this example, please use equal length cables to make the following connections on the terminal block:

  • DDC CLK Out to Strobe
  • Trig 1 to Trig 2
  • Data 0 - 7 to Data 8 - 15

    2. Select File.
    3. Run the VI.

Note

    Make sure to set the file path the the Data text file. Also, make sure to connect PFI 1 and 2 with a jumper cable

 

Additional Information or References

 

Capture.JPG

 

**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.