Select More Than One NI-DAQmx Channel in LabVIEW

Updated Dec 3, 2019

Reported In

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DAQmx

Issue Details

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

Solution

You can acquire data from multiple DAQmx channels in one DAQmx task using either NI Measurement & Automation Explorer (NI MAX) or LabVIEW. Both of these methods are described in more detail below.
 

NI Measurement & Automation Explorer

  1. Click the blue "+" button.
  2. Use <Ctrl-Shift-LeftClick>and drag the mouse pointer to highlight multiple channels.​​
 


LabVIEW

  1. Select Browse... from a DAQmx control or constant.
  2. Use <Ctrl-Shift-LeftClick>and drag the mouse pointer to highlight multiple channels.
  3. If you want to select channels from multiple devices or channels that are not immediately next to each other in this list, use <Ctrl-LeftClick> to select each channel that you want to use.
 
Note: You can also type directly into the DAQmx control or constant. The syntax is described here in the online DAQmx help: Physical Channel Syntax  
 
4. To wire multiple channels into a DAQmx Read or Write in LabVIEW, change them from a single channel input/output to a multiple channel input/output. 

Additional Information

If you want to add multiple channels to the same task but have different configuration settings for each channel, you can add additional DAQmx Create Channel VIs to the reference task for each channel(s) with a different configuration setting. For further help with NI-DAQmx features, please refer to LabVIEW Context Help, invoked by pressing <Ctrl-H> or <Ctrl-?>.

WAS THIS ARTICLE HELPFUL?

Not Helpful