04-15-2021 02:01 PM
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.
Below is a picture of the thermocouple channel BY ITSELF returning expected data
Below is a picture of the pressure channel BY ITSELF returning expected values
04-20-2021 04:05 AM
Pls share the code