Example Code

Handling the Timeout Error to Fetch All Data from Onboard Memory with NI HSDIO Devices

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

Description

Overview
    This example shows how to generate synchronized digital data with multiple HSDIO devices using only one HWS File.

 

Description

    This example demonstrates how to setup an acquisition designed to capture 1000 samples.  In the event that the device times out and doesn't receive a reference trigger, the code will handle that error and acquire 100,000 samples relative to the first sample.  This is a way to dump the memory in the case that you don't receive a trigger.   


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


Instructions
    1. Select HWS file.
    2. Run the VI.

 

 

Additional Information or References

HSDIOFP.jpg

 

hsdiobd.jpg

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