Selecting More Than One NI-DAQmx Channel in LabVIEW NXG

Updated Jul 31, 2018

Reported In

Hardware

  • cDAQ-9174

Software

  • LabVIEW NXG

Driver

  • NI-DAQmx 17.0

Issue Details

I am using NI-DAQmx with support for LabVIEW NXG. How can I acquire data from more than one NI-DAQmx channel within the same task? Can I select multiple channels or ports?

Can I read from multiple DAQ channels in one task with LabVIEW NXG?

Solution

There are four ways to do this, outlined below: 
LabVIEW NXG Measurement Panels
  1. Select the NI-DAQmx task within LabVIEW NXG.
  2. Click Create New Input button.
  3. Use <CTRL> and click the mouse pointer to highlight additional channels.

NI-DAQmx API (Method 1)
  1. Select the DAQmx Physical Channel control or constant and make sure Allow Multiple Names is enabled in the Items tab.
  2. Select the dropdown from a DAQmx Physical Channel control or constant.
  3. Use <CTRL>  and click the mouse pointer to highlight multiple channels.
NI-DAQmx API (Method 2)
  1. Select the DAQmx Physical Channel control or constant and make sure Allow Multiple Names is enabled in the ​Items tab.
  2. Type directly into the DAQmx control or constant. The syntax is described here in the online DAQmx help: Physical Channel Syntax.
Create a Virtual Task in Measurement and Automation Explorer (MAX)
  1. Select the NI-DAQmx task within MAX.
  2. Click the blue "+" button.
  3. Use <CTRL> and click the mouse pointer to highlight multiple channels.

WAS THIS ARTICLE HELPFUL?

Not Helpful