Detecting calibration step completion
When sending remote calibration commands, you must wait until the instrument completes
the current operation before sending another command. You can use either *OPC? or *OPC to
help determine when each calibration step is completed.
Using the *OPC command
The *OPC (operation complete) command can be used to detect the completion of a
calibration step. The following command sequence shows how to use *OPC with a calibration
step:
After sending *OPC, use the serial poll (SPE, SPD) sequence to monitor the RQS bit of the
serial poll (status) byte of the Model 2182. When the calibration step is completed, a service
request will be generated and set the RQS bit, indicating that the next calibration step can now
be performed.
NOTE
*CLS
*ESE 1
*SRE 32
:CAL:PROT:STEP1;*OPC
After a service request is generated, it must be cleared by reading the event status
register by sending the following command:
*ESR?
Calibration Reference
' Clears all event registers and error queue.
' Enables OPC bit in standard event register.
' Enables ESB bit in status byte register.
' Perform calibration step and send *OPC.
B-13