From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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

Multiple Terminal Configurations in Same Task Using LabVIEW

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.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Multiple Terminal Configurations in Same Task Using LabVIEW with DAQmx

 

Overview
This VI captures analog input data using different terminal configurations in the same task.

 
Description

Sometimes you will need to capture analog input data using different terminal configurations (RSE, NRSE, Differential) on the same device.  You can do this by using several Create Channel VIs, setting their individual properties, and stringing them together in the same task.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Set which channels to read in which mode.
  2. Set up your hardware in this configuration.
  3. Run the VI to collect data.

 

Additional Information or References
VI Snippet

008.png

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