3-12
Document number: S46-901-01 Rev. F / March 2011
Section 3: Operation
S46/S46T/S46L Microwave Switch System Instruction Manual
:ERRor?
Query most recent error
NOTE
The
:SYST:ERR?
command is equivalent to the
:STATus:QUEue:NEXT?
command. See the STATus subsystem for more information.
Description
Use this query to read messages placed in the error queue. For example, send:
:SYST:ERR?
After this command is sent and the S46/S46T/S46L is addressed to talk, the
oldest message in the queue is sent to the computer.
The queue holds up to 10 messages. The error queue is a FIFO (first-in, first-out)
register. Every time the error queue is queried, the oldest message is read and
removed from the queue. If the error queue becomes full, the message “
350,
‘Queue Overflow’
” will occupy the last memory location in the register. When
the instrument power is turned on, the error queue is empty. If empty, the
message “
0, ‘No Error’
” is placed in the error queue. The messages in the
error queue are preceded by a number. Refer to
for a listing of error
numbers and messages.
:VERsion?
Query SCPI version
Description
Use this query to read the version of the SCPI standard being used by the S46/
S46T/S46L. For example, send:
:SYST:VER?
:CLEar
Clear all messages from the error queue
Description
Use this command to clear all messages from the error queue. For example,
send:
:SYST:CLE
Query
No query form of this command exists.
:SNUMber?
Query the serial number
Description
Use this query to read the S46/S46T/S46L serial number. For example, send:
:SYST:SNUM
Status model
The S46/S46T/S46L provides status registers and queues allowing the operator to monitor and
manipulate the various instrument events. The status structure is shown in
. The heart
of the status structure is the status byte register. This register can be read by the user’s test
program to determine if a service request (SRQ) has occurred, and what event caused it.