Spe, Spd (Serial Polling; Service Requests (Srqs) And Connections; Status Byte And Service Request Commands - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Appendix C: Status model

SPE, SPD (serial polling)

For the GPIB interface only, the SPE and SPD General Bus Commands are used to serial poll the
Switching Matrix. 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.

Service requests (SRQs) and connections

SRQs affect both the GPIB and the VXI-11 connections. On a GPIB, the SRQ line will be asserted.
On a VXI-11 connection, an SRQ event will be generated.

Status byte and service request commands

The commands to program and read the Status Byte register and Service Request Enable register
are listed in
both common commands and their script command equivalents. For details on programming and
reading registers, see
registers
(on page C-14).
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 or status.request.enable = 0).
Status Byte and Service Request Enable Register commands
Command
*STB?
or
print(status.condition)
*SRE <mask>
or
status.request_enable = <mask>
*SRE?
or
print(status.request_enable)
C-18
Status byte and service request commands
Programming enable and transition registers
Models 707B and 708B Switching Matrix Reference Manual
(on page C-18). Note that the table includes
Description
Read the Status Byte register.
Program the Service Request Enable register where
<mask> = 0-255.
Read the Service Request Enable register.
(on page C-13) and
Reading
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents