09-12-2005 02:31 PM
I've been trying to use an SC-2345 equipped with an SCC-TC02 and connected to a 6015 with VB.Net. So far I have not been able to program the unit and I haven't found a good example on how to program the unit.
The TC02 is equipped with an internal Thermister. I should be able to program the thermocouple channel cjc as "Built in", but this generates an error.
Following is part of my code when declaring the channel.
AiTask.AIChannels.CreateThermocoupleChannel("Dev2/ai7", "ai7," _ Convert.ToDouble(-100), Convert.ToDouble(+100), AIThermocoupleType.J, _
AITemperatureUnits.DegreesC)
09-13-2005 08:24 AM
09-13-2005 11:35 AM
AiTask.AIChannels.CreateVoltageChannel("SCC1Mod1/ai0 , SCC1Mod1/ai1", "AI0 , AI1", _
AITerminalConfiguration.Nrse, Convert.ToDouble(MinVolt), _
Convert.ToDouble(MaxVolt), AIVoltageUnits.Volts)
AiTask.AIChannels.CreateThermocoupleChannel("SCC1Mod7/ai0", AIThermocoupleNames, "AI7", _
Convert.ToDouble(-100), Convert.ToDouble(+100), AIThermocoupleType.J, _
AITemperatureUnits.Degrees)