Enable And Transition Registers - Keithley 2606B System SourceMeter Reference Manual

Table of Contents

Advertisement

Appendix E: Status model
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)

Enable and transition registers

In general, there are three types of user-writable registers that are used to configure which bits feed
the register summary bit and when it occurs. The registers are identified in each applicable command
(as listed in
TSP commands
Enable register (identified as .enable in each attribute's command listing): Allows various
associated events to be included in the summary bit for the register.
Negative-transition register (identified as .ntr in each attributes command listing): A particular
bit in the event register will be set when the corresponding bit in the NTR is set, and the
corresponding bit in the condition register transitions from 1 to 0.
Positive-transition register (identified as .ptr in each attributes command listing): A particular
bit in the event register will be set when the corresponding bit in the PTR is set, and the
corresponding bit in the condition register transitions from 0 to 1.
Controlling node and SRQ enable registers
Attributes to control system node and service request (SRQ) enable bits and read associated
registers are summarized in the
example, either of the following will set the system node QSB enable bit:
status.node_enable = status.QSB
status.node_enable = 8
Status register sets
There are five status register sets in the status structure of a System SourceMeter
System Summary
Standard Event Status
Operation Status
Measurement Event
Questionable Status
E-16
2606B System SourceMeter® Instrument Reference Manual
Description
Read the Status Byte Register.
Program the Service Request Enable Register where
<mask> = 0 to 255.
Read the Service Request Enable Register.
(on page 7-7)) as follows:
Status byte and service request enable registers
(on page E-4). For
®
instrument:
2606B-901-01 Rev. B / May 2018

Advertisement

Table of Contents
loading

Table of Contents