
B-12
Calibration Reference
Models 2510 and 2510-AT
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? query
With the *OPC? (operation complete) query, the instrument will place an ASCII 1 in the
output queue when it has completed each step. To determine when the OPC response is ready,
do the following:
1.
Repeatedly test the MAV (Message Available) bit (bit 4) in the status byte and wait
until it is set. (You can request the status byte by using the *STB? query.)
2.
When MAV is set, a message is available in the output queue, and you can read the out-
put queue and test for an ASCII 1.
3.
After reading the output queue, repeatedly test MAV again until it clears. At this point,
the calibration step is completed.
Using the *OPC command
The *OPC (operation complete) command can be used to detect the completion of each
calibration step. In order to use *OPC to detect the end of each calibration step, do the
following:
1.
Enable operation complete by sending *ESE 1. This command sets the OPC (operation
complete bit) in the standard event enable register, allowing operation complete status
from the standard event status register to set the ESB (event summary bit) in the status
byte when operation complete is detected.
2.
Send the *OPC command immediately following each calibration command. For
example:
:CAL:PROT:SENS:VOLT 8;*OPC
Note that you must include the semicolon (;) to separate the two commands, and that
the *OPC command must appear on the same line as the calibration command.
3.
After sending a calibration command, repeatedly test the ESB (Event Summary) bit
(bit 5) in the status byte until it is set. (Use *STB? to request the status byte.)
4.
Once operation complete has been detected, clear OPC status using one of two meth-
ods: (1) use the *ESR? query, then read the response to clear the standard event status
register, or (2) send the *CLS command to clear the status registers. Note that sending
*CLS will also clear the error queue and operation complete status.
2510-902-01 (E - Mar 2010)(Service).book Page 12 Tuesday, March 16, 2010 1:04 PM
Содержание TEC SourceMeter 2510
Страница 3: ...2510 902 01 E Mar 2010 Service book Page 2 Tuesday March 16 2010 1 04 PM...
Страница 14: ...1 PerformanceVerification 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 28: ...2 Calibration 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 54: ...3 RoutineMaintenance 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 58: ...4 Troubleshooting 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 76: ...5 Disassembly 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 82: ...6 ReplaceableParts 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 92: ...A Specifications 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 2 33 PM...
Страница 96: ...B CalibrationReference 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 110: ...C CalibrationProgram 2510 902 01 E Mar 2010 Service book Page 1 Tuesday March 16 2010 1 04 PM...
Страница 119: ...2510 902 01 E Mar 2010 Service book Page 4 Tuesday March 16 2010 1 04 PM...