How to Acquire Voltage and Current Data in the Same DAQmx Task?

Updated Dec 18, 2017

Reported In

Hardware

  • NI-9207

Software

  • LabVIEW Full
  • LabVIEW Base

Other

  • Windows 10

 

Issue Details

I'm trying to acquire data with the NI 9207 Voltage/Current Input module. I can acquire voltage data just fine, but when I try to add on current measurements it says that The Specified Resource is ReservedHow can I acquire both voltage and current data on the same task?
 

Solution

You can create channels of different measurement types in the same task by calling the DAQmx Create Channel VI multiple times. To add current readings to your voltage readings, you can create two channels in series. The following screenshot shows the edit to the example 'Voltage - Continuous Input' (Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Input) to obtain current readings along with voltage readings:
 
You can then display the data normally with the output of DAQmx Read, as shown below:
 

WAS THIS ARTICLE HELPFUL?

Not Helpful