Remote Control
Copyright © Itech Electronic Co., Ltd. 11
The individual bits of the Service Request Enable Register can be set or
cleared by using the following common command:
*SRE <NRf>
To read the Service Request Enable Register, use the *SRE? query command.
The Service Request Enable Register clears when power is cycled or a
parameter (n) value of zero is sent with the *SRE command *SRE 0.
1.8 Serial poll and SRQ
Any enabled event summary bit that goes from 0 to 1 will set RQS and generate
a service request (SRQ). In your test program, you can periodically read the
Status Byte Register to check if a service request (SRQ) has occurred and what
caused it. If an SRQ occurs, the program can, for example, branch to an
appropriate subroutine that will service the request. Typically, service requests
(SRQs) are managed by the serial poll sequence of the electronic load. If an
SRQ does not occur, bit B6 (RQS) of the Status Byte Register will remain
cleared and the program will simply proceed normally after the serial poll is
performed. If an SRQ does occur, bit B6 of the Status Byte Register will set and
the program can branch to a service subroutine when the SRQ is detected by
the serial poll.
The serial poll automatically resets RQS of the Status Byte Register. This
allows subsequent serial polls to monitor bit B6 for an SRQ occurrence
generated by other event types. After a serial poll, the same event can cause
another SRQ, even if the event register that caused the first SRQ has not been
cleared.
A serial poll clears RQS but does not clear MSS. The MSS bit stays set until all
Status Byte event summary bits are cleared.
1.9 Trigger model (GPIB operation)
This section describes how the electronic load operates over the GPIB bus.
The flowchart in figure below summarizes operation over the bus and is called
the trigger model. It is called the trigger model because operation is controlled
by SCPI commands from the Trigger subsystem. Key SCPI commands are
included in the trigger model.