Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

One of the physical channels in my task is returning 0

NI DAQmx version 20.1

cDAQ Chassis 9178

Slot 2: 9213

Slot 3: 9208

 

I'm finding that when I have a pressure channel (9208) and a thermocouple channel (9213), the pressure channel is returning 0 in my DAQmx task. I know that its 0 because I am calling AI Read and the array has zeros in it for my pressure channel. However, if I use the pressure channel by itself, nonzero values are returned. If I use the thermocouple channel by itself, nonzero value are returned. When I have both inside the same task, the thermocouple channel returns nonzero values and the pressure channel returns zero. 

 

Note: this is on simulated hardware.

 

Can somebody help me understand if this is expected behavior? 

 

Note2: the data type is double, and the representation is 6 significant digits so I don't think this is a truncation issue. 

 

Below is a picture of the unexpected behavior with both channels, where the thermocouple channel returns correct values and the pressure channel returns zeros.

alexhudmc_0-1618512949285.png

 

Below is a picture of the thermocouple channel BY ITSELF returning expected data

alexhudmc_1-1618513096786.png

 

Below is a picture of the pressure channel BY ITSELF returning expected values

alexhudmc_2-1618513224915.png

 

 

 

0 Kudos
Message 1 of 2
(642 Views)

Pls share the code

0 Kudos
Message 2 of 2
(572 Views)