Scale, Sensor – Measurement Computing DAQFlex User Guide User Manual
Page 36

DAQFlex Software User's Guide
DAQFlex Message Reference – Programming messages – AI
36
RES
Get the resolution of the A/D converter.
Message
"?AI:RES"
Response "AI:RES=value"
value
The ADC resolution, for example S24.
Note
The first character indicates if the value is signed (S) or unsigned (U). The second value
indicates the resolution in bits.
SCALE
Enable or disable scaling of A/D channels.
Message
"AI:SCALE=value"
Response "AI:SCALE"
value
ENABLE, DISABLE
Example
"AI:SCALE=
Note
When SCALE is enabled, the device returns values that are converted to an appropriate
unit based on the CHMODE property. For example, when CHMODE is set to DIFF, values
are returned as voltage. When CHMODE is set to TC/OTD, values are returned as
temperature. When SCALE is disabled, values are returned as counts.
This message is processed by the DAQFlex Software library, and is not sent to the
device.
Get a value indicating whether scaling will be applied to the A/D channels.
Message
"?AI:SCALE"
Response "AI:SCALE=value"
value
ENABLE, DISABLE
Note
This message is processed by the DAQFlex Software library, and is not sent to the
device.
SENSOR
Set the thermocouple sensor type.
Message
"AI{ch}:SENSOR=TC/value"
Response " AI:{ch}:SENSOR"
value
The thermocouple type.
Example
"AI{0}:SENSOR=TC/K"
Note
Thermocouple types B, E, J, K, N, R, S, and T are supported.