Refval, Slope – Measurement Computing DAQFlex User Manual
Page 14
![background image](https://www.manualsdir.com/files/797455/content/doc014.png)
DAQFlex Message-based Firmware Specification
Analog input calibration messages
14
REF
Set the calibration reference voltage.
Message
"AICAL:REF=value"
Response "AICAL:REF"
value
The voltage value.
Example
"AICAL:REF=+1.250034V"
Note
The voltage value is stored in EEPROM.
REFVAL
Get the actual measured value of the currently set calibration reference voltage.
Message
"?AICAL:REFVAL"
Response "AICAL:REFVAL=value"
value
The measured voltage value.
Note
The voltage value is retrieved from the value stored in EEPROM.
Get the actual measured hex value of the currently set calibration reference voltage.
Message
"?AICAL:REFVAL/HEX"
Response "AICAL:REFVAL=0xhex value"
hex value
The measured voltage hex value.
Note
Omitting "/HEX" from the query results in a loss of precision in the value returned.
RES
Get the A/D resolution.
Message
"?AICAL:RES"
Response "AICAL:RES=value"
value
The A/D resolution.
SLOPE
Set the slope for the current AICAL:RANGE setting.
Message
"AICAL{ch}:SLOPE=value"
Response "AICAL{ch}:SLOPE"
ch
The channel number.
value
The calibration slope.
Example
"AICAL{0}:SLOPE=–0.0025"