PT_TCMuxRead

typedef struct tagPT_TCMuxRead
{
    INT16U DasChan;
    INT16U DasGain;
    INT16U ExpChan;
    INT16U TCType;
    INT16U TempScale;
    FP32 *temp;
} PT_TCMuxRead, * LPT_TCMuxRead;

PT_TCMuxRead is used by DRV_TCMuxRead function.

Member Description

NameDirectionType RangeDescription
DasChan Input Unsigned short 0~[n-1] (n depends on hardware) The sampled channel on DASCard.
DasGain Input Unsigned short depends on hardware Gain code of the sampled channel on DASCard. The device may have various levels of gain, each gain code is corresponding to one range level.
ExpChan Input Unsigned short depends on expansion board The thermocouple channel on the expansion board.
TCType Input Unsigned short 0,1,2,3,4,5,6 Type of thermocouple:
J(0) , K(1), S(2) ,T(3), B(4), R(5), E(6). Refer to thermocouple data sheets.
TempScale Input Unsigned short 0,1,2,3 Temperature unit:
Celsius(0),Fahrenheit(1), Rankine(2), Kelvin(3).
tempOutputlong pointer to floating-point Depends on hardware Pointer to storage address of measured temperature.