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?