Keithley 2461 Reference Manual page 1059

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2461 Interactive SourceMeter® Instrument Reference Manual
Service Request Enable Register
This register is programmed by the user and is used to enable or disable the setting of bit B6
(RQS/MSS) by the Status Summary Message bits (B0, B1, B2, B3, B4, B5, and B7) of the Status
Byte Register. As shown in the
performed on the summary bits (&) with the corresponding enable bits of the Service Request Enable
Register. When a logical AND operation is performed with a set summary bit (1) and with an enabled
bit (1) of the enable register, the logic "1" output is applied to the input of the logical OR gate and,
therefore, sets the MSS/RQS bit in the Status Byte Register.
You can set or clear the individual bits of the Service Request Enable Register by using the *SRE
common command or status.request_enable. To read the Service Request Enable Register,
use the *SRE? query or print(status.request_enable). The Service Request Enable Register
clears when power is cycled or a parameter value of 0 is sent with a status request enable command
(for example, a *SRE 0 or status.request_enable = 0 is sent). You can program and read the
SRQ Enable Register using the following commands.
Description
Read the Status Request Enable
Register
Enable bits in the Status Request
Enable Register
Queues
The instrument includes an Output Queue and an Error Queue. The Output Queue holds messages
from readings and responses. The Error Queue holds error event messages from the event log. Both
are first-in, first-out (FIFO) registers.
Output Queue
The output queue holds response messages to SCPI query and TSP print() commands.
When data is placed in the Output Queue, the Message Available (MAV) bit in the Status Byte
Register is set. The bit is cleared when the Output Queue is empty.
To clear data from the Output Queue, read the messages. To read a message from the Output
Queue, address the instrument to talk after the appropriate query is sent.
Error Queue
The Error Queue holds any error events that are posted in the event log. When an error event occurs,
it is posted to the Error Queue, which sets the Error Available (EAV) bit in the Status Byte Register.
The instrument clears error event messages from the event log when it retrieves the event log. When
the error event messages are cleared from the event log, the EAV bit in the Status Byte Register is
cleared.
You can clear the Error Queue by sending the common command *CLS or the TSP command
status.clear(). Note that status.clear() also clears all event registers.
For information regarding the event log, see
2461-901-01 A/November 2015
Status Byte Register
(on page C-11) topic, a logical AND operation is
SCPI command
*SRE
(on page B-8)
*SRE
(on page B-8)
Using the event log
Appendix C: Status model
TSP command
status.request_enable
(on page 8-
231)
status.request_enable
(on page 8-
231)
(on page 2-142).
C-13

Advertisement

Table of Contents
loading

Table of Contents