Common scpi commands – AMETEK ReFlex Programming Manual User Manual
Page 129
Fixed Power DC Remote Programming
ReFlex Power™ Programming Manual
M380056-03 Rev L
125
6.3.2
E
RROR
/E
VENT
Q
UEUE
The Error/Event Queue is a FIFO (First-In-First-Out) buffer for storing detected
errors. When the queue is read with the
SYSTem:ERRor?
query, the error that
was detected first will be read first, and the error that was detected last will be
read last. When all errors are read, the message “0, No error” will be returned.
Up to 10 errors can be stored before overflow would occur. Overflow will result in
error code -350, “Queue overflow” overwriting the last entry. All subsequent
errors are ignored, until the queue is read or cleared and space is again
available.
6.4
COMMON SCPI COMMANDS
The following commands are common to all SCPI instruments, and are
mandatory for conformance to IEEE 488.2. In the following table, the ReFlex
Power™ Fixed Power (FP) will be defined as the “device” on the bus.
Command
Description
*CLS
Clears all status reporting data structures including the Status Byte, the Standard Event
Status Register, the Protection Event Status Register, and the Error Queue. Enable
registers are not cleared by this command. NOTE: The Enhanced command: *CLS
not supported by the FP.
*IDN
Identification Query: Returns the device identity as an ASCII string:
Example: ELGAR,RFP-F1000-001-0000,0921A00746,3.000.007
*OPC
Operation Complete Query: Returns the integer value “1” when all pending operations are
complete.
*RST
Reset Command: Resets the device to the following state:
1. Output disabled, relays open.
2. Clears all status reporting data structures, including the Status Byte Register, Standard
Event Status Register, and Error/Event Queue. Enable-masks are not cleared.
*TST
Initiate self test
*TST
Returns a decimal result from the last self test the module performed. Convert the value to
Hex because more than one bit can be set at a time.