Offset, Range – Measurement Computing DAQFlex User Guide User Manual
Page 52

DAQFlex Software User's Guide
DAQFlex Message Reference – Programming messages – AO
52
AO
Sets and gets property values for analog output channels.
Refer to the device-specific information in the Hardware Reference section for the component properties
and commands supported by each DAQ device.
Properties
CAL, OFFSET, RANGE, REG, RES, SCALE, SLOPE, UPDATE, VALUE
(Component only)
Get the number of analog output channels on the device.
Message
"?AO"
Response "AO=value"
value
The number of D/A channels on the device.
CAL
Enable or disable calibration of all D/A channels.
Message
"AO:CAL=value"
Response " AO:CAL"
value
ENABLE, DISABLE
Example
" AO:CAL=ENABLE"
Note
This message is processed by the DAQFlex Software library, and is not sent to the
device.
OFFSET
Get the calibration offset for a specified channel, currently set range and channel mode.
Message
"?AO{ch}:OFFSET"
Response "AO{ch}:OFFSET=value"
ch
The D/A channel number.
value
The value of the calibration offset.
Example
"?AO{0}:OFFSET"
RANGE
Get the range value for a specified channel.
Message
"?AO{ch}:RANGE"
Response "AO{ch}RANGE=value"
ch
The D/A channel number.
value
The range value.
Example
"?AO{0}:RANGE"