Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermocouple CJC with SCXI-1102, TC-2095, cjTemp

I'm having problems reading a Type-K thermocouple. I have a SCXI-1102 connected to a TC-2095. I would like to use SC1Mod2/_cjTemp as the CJC channel. When I try to specify cjTemp as the CJC channel in the CreateThermocoupleChannel method, I get an error that I must use a virtual channel and not the physical channel. Any help would be greatly appreciated.

niTask.AIChannels.CreateThermocoupleChannel("SC1Mod2/ai27","tempTC",-10.0,50.0,
AIThermocoupleType.K,AITemperatureUnits.DegreesC,"SC1Mod2/_cjTemp");

Brandon Richins
0 Kudos
Message 1 of 2
(3,078 Views)
Hello Brandon,

Take a look at the following two articles, I think they might contain some information that will be useful for your application and the error that you are seeing.

http://digital.ni.com/public.nsf/websearch/B0F36EAF0CD5443B862569DD000B311C?OpenDocument
http://digital.ni.com/public.nsf/websearch/86256A47004E16D186256B45006F561C?OpenDocument

Hope this helps!
E.Lee
Eric
DE For Life!
0 Kudos
Message 2 of 2
(3,060 Views)