From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I aquire channel name and temperature of the built-in cold juctioin of a NI 9211 via C functions?

I want to read the temperature of built-in cold junction of NI9211/cDAQ-9171 using C functions. When I use Measurement & Automation Explorer, there are 7 channels listed for the device "cDAQ1Mod1":

cDAQ1Mod1/ai0, cDAQ1Mod1/ai1, cDAQ1Mod1/ai2, cDAQ1Mod1/ai3, cDAQ1Mod1/_cjtemp, cDAQ1Mod1/_aignd_vs_aignd, cDAQ1Mod1/_calref_vs_aignd.

 

However, when I call DAQmxGetDevAIPhysicalChans from my program, only 4 channels are returned:

cDAQ1Mod1/ai0, cDAQ1Mod1/ai1, cDAQ1Mod1/ai2, cDAQ1Mod1/ai3.

 

How can I aquire channel name and temperature of the built-in cold juctioin of a NI 9211 using C functions?

0 Kudos
Message 1 of 1
(1,888 Views)