From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Concurrent Multiple Sample Rates with cDAQ 9178

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

This example shows how to acquisit and read data in 3 different rates with 3 different devices in the NI cDAQ-9178.

 

Description

The 9178 has 3 separate timing engines. This is significant because with this device you are able to acquire data at different rates at the same time. This example shows how easy it is to write a program in LabVIEW to accomplish concurrently reading 3 different rates with 3 different devices in the 9178 chasis. This sample cade can be modified to your specific application of the 9178.

 

Requirements

 Software

  •    LabVIEW 2012 or compatible
  •    NI-DAQmx 9.5.5 or compatible

 Hardware

  •    NI cDAQ-9178

 Steps to Implement or Execute Code

  1. In each device tab, choose which modules in the 9178 you will use to acquire data.
  2. Set the sample rate and the limit value of input voltage.
  3. Run the VI.

Multi.jpg

 

搜狗截图16年12月25日1800_6.png**This document has been updated to meet the current required format for the NI Code Exchange.**

 

National Instruments
Applications Engineer

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

Comments
mdelsol
Member
Member
on

Does this code works with 2 different DSA modules working at different rates? Please can someone pot it also in LV8.6 Thx.