Service Request Enable Register; Spe, Spd (Serial Polling); Status Byte And Service Request Commands - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 8: Status Model

Service request enable register

The generation of a service request is controlled by the 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, B2, B3, B4, B5, and B7) of the status
byte register. The summary bits are logically ANDed (&) with the corresponding enable bits of
the service request enable register. When a set (1) summary bit is ANDed with an enabled (1)
bit of the enable register, the logic ―1‖ output is applied to the input of the OR gate and,
therefore, sets the MSS/RQS bit in the status byte register. The individual bits of the service
request enable register can be set or cleared by using the *SRE common command or its script
equivalent. To read the service request enable register, use the *SRE? query or script
equivalent. The service request enable register clears when power is cycled or a parameter
value of 0 is sent with the *SRE command (i.e. *SRE 0).

SPE, SPD (serial polling)

For the GPIB interface only, the SPE and SPD general bus command sequence is used to serial
poll the Series 3700. Serial polling obtains the serial poll byte (status byte). Typically, serial
polling is used by the controller to determine which of several instruments has requested service
with the SRQ line.

Status byte and service request commands

The commands to program and read the status byte register and service request enable register
are listed below. Note that the table includes both common commands and their script command
equivalents. For details on programming and reading registers, see
transition registers
To reset the bits of the service request enable register to 0, use 0 as the parameter value for the
command (for example, *SRE 0).
Commands
*STB?
or
print(status.condition)
*SRE <mask>
or
status.request_enable = <mask>
*SRE?
or
print(status.request_enable)
8-12
(on page 8-8), and
Reading registers
Description
Read status byte register.
Program the service request enable register:
<mask> = 0 to 255
Read the service request enable register.
Series 3700 System Switch/Multimeter Reference Manual
(on page 8-9).
Document Number: 3700S-901-01 Rev. A / August 2007
Programming enable and

Advertisement

Table of Contents
loading

Table of Contents