VT1422A Command Reference 275Chapter 7
CALibration
<ref_volts> may be specified in millivolts (mV).
When Accepted: Not while INITiated
Related Commands: CAL:CONF:VOLT, CAL:STORE ADC
Send with VXIplug&play Function: hpe1422_cmd(...)
Command
Sequence
CAL:CONF:VOLTAGE 4,FSCALE
*OPC? Wait for operation to complete
enter statement
(now measure voltage with external DMM)
CAL:VAL:VOLT <measured value> Send measured value to module
CALibration:ZERO?
CALibration:ZERO? corrects Analog to Digital converter offset for any drift since
the last *CAL? or CAL:ZERO? command was executed. The offset calibration takes
about 5 seconds and should be done as often as the control set up allows.
Comments The CAL:ZERO? command only corrects for A/D offset drift (zero). Use the
*CAL? common command to perform on-line calibration of channels as well as
A/D offset. *CAL? performs gain and offset correction of the A/D and each
channel with an analog SCP installed (both input and output).
Returned Value:
The data type for this returned value is int16.
Executing this command does not alter the module's programmed state
(function, range, etc.).
Related Commands: *CAL?
*RST Condition: A/D offset performed
Send with VXIplug&play Function: hpe1422_cmdInt16_Q(...)
Usage CAL:ZERO?
enter statement here returns 0 or -1
Value Meaning Further Action
0 Cal OK None
-1 Cal Error Query the Error Queue (SYST:ERR?)
See “Error Messages” on page 453