
SERIAL Digital I/O Series User Manual Eagle Technology - Data Acquisition
Read Thermo Couple Channel
Reading the thermocouple channel is the same as reading the CJC channels. The thermo
couple channels for the SRL 73 will always start at channel 0. For a device with both normal
ADC channels and Temperature channels the channels value assigned to the temperature
channels will start after the normal ADC channels.
API-CALL
Long EDRE_ADSingle (ulng Sn, ulng Channel, ulng Gain, ulng Range, plong uVoltage)
Parameter Type Description
Sn Unsigned long Device serial number
Channel Unsigned long Assigned Channel
Gain Unsigned long NULL
Range Unsigned long NULL
uVoltage Pointer to long Returned micro voltage
Return Long Error code
ACTIVEX CALL
Long EDREADX.SingleRead (long Channel)
Only the assigned channel value is needed. A return code will indicate the voltage in
microvolt.
Calculating Ambient Temperature
API-CALL
Long EDRE_CalcCJCmC(long cjcuv)
ACTIVEX CALL
Long EDREADX.CalcCJCmC(long cjcuv)
Calculating Temperature for Thermocouples
API-CALL
Long EDRE_CalcTCmC(long tctype, long tcuv, long ambientmc)
ACTIVEX CALL
Long EDREADX.CalcTCmC(long tctype, long tcuv, long ambientmc)
Parameter Type Description
cjcuv Long CJCTemp channel uVolts
Return Long Milli Degrees Celsius
Parameter Type Description
tctype Long Type Thermocouple used. (See appendix for details)
tcuv Long Voltage read from channel uVolts
ambientmc Long Ambient temperature mille Degrees
Return Long Milli Degrees Celsius
Eagle Technology © Copyright 2003 – www.eagledaq.com 28