DRV_TCMuxRead

INT32S DRV_TCMuxRead (
   PTR_T DeviceHandle,
   PT_TCMuxRead *lpTCMuxRead );

Purpose

Perform temperature measurement function with an expansion board on DeviceHandle specified device.

Parameters

Name Direction Type Range Description
DeviceHandle input pointer default Pointer retrieved from DRV_DeviceOpen that specifies the target device.
lpTCMuxRead input / output pointer to PT_TCMuxRead default Pointer to the stucture PT_TCMuxRead that stores DasChan, DasGain, ExpChan, TCType, TempScale and temp.

Return

   1. SUCCESS Successful.
   2. InvalidDeviceHandle The DeviceHandle is NULL.
   3. InvalidChannel DasChan is out of allowable range.
   4. InvalidGain The DAS card doesn't support the DasGain.
   6. Other value Please reference ErrorCodes

Notes

Using the PCLD-770, PCLD-779 or PCLD-789 for thermocouple measurement. Thermocouple linearization is provided automatically by the driver if a temperature measurement operation is chosen in the application program. The linearization is performed and the temperature acquired by the thermocouple/mux card is available for control strategy use or display in degrees Celsius. The conversion to units other than degrees C (Fahrenheit, Kelvin, etc.) can be accomplished by use of a calculation scaling factor.