Appendix D: Status model
Series 2280 Precision DC Power Supply Reference Manual
D-22
077085503 / March 2019
The serial poll automatically resets RQS of the Status Byte Register. This allows subsequent serial
polls to monitor bit B6 for an SRQ occurrence that is generated by other event types.
For common commands, B6 is the MSS (Message Summary Status) bit. The serial poll does not clear
the MSS bit. The MSS bit stays set until all enabled Status Byte Register summary bits are reset.
Status model programming examples
The following examples illustrate how to generate an SRQ using the status model.
SRQ when reading buffer becomes full
This example shows you how to generate an SRQ when the Series 2280 reading buffer is full. This is
useful to notify the controlling computer that it needs to read back the data and empty the buffer. After
configuring the status model, this code configures the reading buffer 1 to a size of 10, and then
configures the instrument to fill the buffer. After the buffer is full, the instrument generates an SRQ
and returns the data.
Using SCPI commands:
*RST
*CLS
STAT:MEAS:INST:ISUM:ENAB 256
STAT:MEAS:INST:ENAB 2
STAT:MEAS:ENAB 8192
*SRE 1
TRAC:CLE
TRAC:POIN 10
SOUR:VOLT 1
TRIG:COUN 10
OUTP ON
INIT
*WAI
OUTP OFF
TRAC:DATA:SEL? 1, 10, "READ"