
3-10
Document number: S46-901-01 Rev. F / March 2011
Section 3: Operation
S46/S46T/S46L Microwave Switch System Instruction Manual
:PRESet
Reset status registers to default states
Description
Use this command to return all status registers to their default states. For
example, to reset all status registers to their default states, send:
:STAT:PRES
Query
No query form of this command exists.
:QUEue
Path to queue commands
This command path is required to access the following error queue commands. To send any of the
following commands, include the command path immediately before the command. For an
example, see the descriptions.
[:NEXT]?
Read most recent error
NOTE
The
:STAT:QUE:NEXT?
command is equivalent to the
:SYSTem:ERRor?
command. See the SYSTem subsystem for more information.
Description
Use this query to read messages placed in the error queue. For example, send:
:STAT:QUE:NEXT?
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.
:ENABle <list>
Enable error queue messages
:ENABle?
Query for enabled error queue messages
Parameters
<list> = (numlist)
Where
numlist
is a comma-separated list of messages to be enabled for the error
queue. See
for a list of error and status numbers.
Description
Use this command to specify status and error messages enabled for the error
queue. When the instrument power is turned on, status messages are
not
enabled
and therefore are prevented from going into the queue
.
All other error messages
are enabled and will go into the error queue as they occur. When this command is
:DISable
<clist>
Specify messages not to be placed in queue.
:DISable?
Read the disabled messages.
:CLEar
Clear all messages from the error queue.
Table 3-8
:STATus subsystem command set
Commands
Description