Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202521

cDAQ-9178 voltage and current same DAQmx

$
0
0

Hello,

 

I am trying to make an example to test how to measure voltage and current with the above cDAQ device. Right now I do not have the HWs, but I have created a simulated device in MAX, a cDAQ-9178, with two modules: NI 9205 (voltages) and NI 9227 (currents).

 

I would like to also individually scale the measurements since there will be many different sensors (pressure, flow, temperature, etc...).

I made a small test VI, please find it attached. Right now just I give scaling slope value as 1, and intercept as 0.

If I test this VI only using the 2 voltage channels on the 1st module, I get simulated data from the DAQmx Read.

 

However, if I also include the 4 current channels beside the voltage channels, the DAQmx Read give a zero sized empty double array...

What do I do wrong? :smileysad:

 

Thanks very much for help!

 

daqmx1.jpg

daqmx2.jpg


Viewing all articles
Browse latest Browse all 202521

Trending Articles