Clearing Registers And Queues - Keithley S46 Instruction Manual

Microwave switch system
Hide thumbs Also See for S46:
Table of Contents

Advertisement

S46/S46T Microwave Switch System Instruction Manual
Typically, SRQs are managed by the serial poll sequence of the relay unit. If an SRQ does
not occur, bit B6 (RQS) of the status byte register will remain cleared, and the program
will simply proceed normally after the serial poll is performed. If an SRQ does occur, bit
B6 of the status byte register will set, and the program can branch to a service subroutine
when the SRQ is detected by the serial poll.
The serial poll automatically resets RQS of the status byte register. This allows subsequent
serial polls to monitor bit B6 for an SRQ occurrence generated by other event types. After
a serial poll, the same event can cause another SRQ, even if the event register that caused
the first SRQ has not been cleared.
The serial poll does not clear MSS. The MSS bit stays set until all status byte summary
bits are reset.

Clearing registers and queues

When the S46/S46T is powered up, the bits of all registers in the status structure are clear
(set to 0) and the two queues are empty. Commands to reset the event and event enable
registers, and the error queue are listed in
enable register can be reset by sending the 0 parameter value with the individual command
to program the register.
NOTE
Table 3-7
Common and SCPI commands — reset registers and clear queues
Commands
To reset Standard
event register:
*ESE 0
or
*CLS
To clear error queue:
*CLS
STATus
:QUEue
{:NEXT}?
:CLEar
SYSTem
:ERRor?
:CLEar
*RST has no effect on status structure registers and queues. See
details on the error queue.
Description
Reset all bits of the Standard Event Register to 0.
Clear all messages from error queue.
STATus subsystem:
Error queue:
Read and clear the oldest error/status message.
Clear all messages from error queue.
SYSTem subsystem:
Read and clear the oldest error/status message.
Clear all messages from error queue.
Table
3-7. In addition to these commands, any
S46-901-01 Rev. C / January 2006
Operation
3-21
"Queues"
for
Ref
Note 1
Note 1
Note 2
Note 2

Advertisement

Table of Contents
loading

Table of Contents