171
Programming the Test Set
IEEE Common GPIB Commands
IEEE Common GPIB CommandsNumeric values for bit patterns can be entered using decimal or hexi-decimal representations. (that is,. 0
to 32767 is equivalent to #H0 to #H7FFF).
Calibration Query
*CAL? Performs a full alignment and returns a number indicating the success of the alignment. A zero is
returned if the alignment is successful. A one is returned if any part of the alignment fails. The equivalent
SCPI command is CALibrate[:ALL]?
See “Alignments” on page 236 for details of *CAL?.
Clear Status
Clears the status byte register. It does this by emptying the error queue and clearing all bits in all of the
event registers. The status byte register summarizes the states of the other registers. It is also responsible
for generating service requests.
Standard Event Status Enable
Selects the desired bits from the standard event status enable register. This register monitors I/O errors
and synchronization conditions such as operation complete, request control, query error, device
dependent error, status execution error, command error, and power on. The selected bits are OR’d to
become a summary bit (bit 5) in the byte register which can be queried.
The query returns the state of the standard event status enable register.
Key Path: No equivalent key. Related key System, Show Errors, Clear Error Queue
Remote Command: *CLS
Example: *CLS Clears the error queue and the Status Byte Register.
Notes: For related commands, see the SYSTem:ERRor[:NEXT]? command. See also
the STATus:PRESet command and all commands in the STATus subsystem.
Status Bits/OPC dependencies: Resets all bits in all event registers to 0, which resets all the status byte
register bits to 0 also.
Backwards Compatibility Notes: In general the status bits used in the X-Series status system will be backwards
compatible with ESA and PSA. However, note that all conditions will
generate events that go into the event log, and some will also generate status
bits.
Initial S/W Revision: Prior to A.02.00
Key Path: No equivalent key. Related key System, Show Errors, Clear Error Queue