Slope, Status, Validchans – Measurement Computing DAQFlex User Guide User Manual
Page 37: Value

DAQFlex Software User's Guide
DAQFlex Message Reference – Programming messages – AI
37
Get the thermocouple sensor type.
Message
"?AI{ch}:SENSOR"
Response " AI:{ch}:SENSOR=TC/value"
value
The thermocouple type.
Example
"?AI{0}:SENSOR"
Note
Thermocouple types B, E, J, K, N, R, S, and T are supported.
SLOPE
Get the calibration slope coefficient for the specified channel.
Message
"?AI{ch}:SLOPE"
Response "AI{ch}:SLOPE=value"
ch
The channel number.
value
The calibration slope.
Example
"?AI{0}:SLOPE"
STATUS
Get the current ADC status of the AI operation.
Message
"?AI:STATUS"
Response "AI:STATUS=value"
value
BUSY, ERROR, READY
VALIDCHANS
Get the number of each valid analog input channel.
Message
"?AI:VALIDCHANS"
Response "AI:VALIDCHANS=value"
value
The valid analog input channel number(s) on the device.
Get the channel mode for each valid analog input channel.
Message
"?AI: VALIDCHANS/CHMODE"
Response "AI:VALIDCHANS/CHMODE={ch}(mode)"
ch
The channel number.
mode
The channel mode.
VALUE
Get the value of an analog input channel.
Message
"?AI{ch}:VALUE"
Response "AI{ch}:VALUE=value"
ch
The channel number.