Aires, Aislope, Aivalue – Measurement Computing DAQFlex User Manual
Page 17: Lock

DAQFlex Message-based Firmware Specification
Analog output calibration messages
17
AIRES
Get the resolution of the A/D used for calibrating the D/A.
Message
"?AOCAL:AIRES"
Response "AOCAL:AIRES=value"
value
The A/D resolution.
Example
"AOCAL:AIRES=S24"
Note
The first character in the value returned indicates that the value is signed.
AISLOPE
Get the slope for the current AICAL:RANGE setting.
Message
"?AOCAL{ch}:AISLOPE/HEX"
Response "AOCAL{ch}:AISLOPE=0xhex value"
ch
The analog output channel.
hex value
The slope currently set for AICAL:RANGE.
Example
"AOCAL{0}:AISLOPE=0x14B525A3"
Note
The hex value is used to preserve the precision of the double precision floating point
value.
AIVALUE
Get the value of the analog input channel being calibrated.
Message
"?AOCAL{ch}:AIVALUE"
Response "AOCAL{ch}:AIVALUE=value"
ch
The AI channel being calibrated.
value
The AI channel value in counts.
Note
When this message is sent, the device switches the internal CalConfig to the DAC
channel that is specified in the message.
LOCK
Lock the AOCAL component.
Message
"AOCAL:LOCK"
Response "AOCAL:LOCK"
Note
The device returns INVALID if any AOCAL property message is accessed while the
AOCAL component is locked.