
11-8
Status Structure
Model 2700 Multimeter/Switch System User’s Manual
Service request enable register
The generation of a service request is controlled by the Service Request Enable Register.
This register is programmed by you 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 Sta-
tus Byte Register. As shown in
, 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. 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 value of 0 is sent with the *SRE command (*SRE 0). The commands to pro-
gram and read the SRQ Enable Register are listed in
.
Serial polling and SRQ
Any enabled event summary bit that goes from 0 to 1 will set bit B6 and generate an SRQ
(service request). In your test program, you can periodically read the Status Byte to check
if an 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, SRQs are managed by the serial poll sequence of the Model 2700. 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.
The serial poll does not clear MSS. The MSS bit stays set until all Status Byte summary
bits are reset.
SPE, SPD (serial polling)
The SPE, SPD General Bus Command sequence is used to serial poll the Model 2700.
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.
Содержание 2700
Страница 3: ......
Страница 7: ......
Страница 197: ...5 24 Rel Math Ratio Channel Average dB Model 2700 Multimeter Switch System User s Manual...
Страница 213: ...6 16 Buffer Model 2700 Multimeter Switch System User s Manual...
Страница 289: ...9 18 Limits and Digital I O Model 2700 Multimeter Switch System User s Manual...
Страница 335: ...11 24 Status Structure Model 2700 Multimeter Switch System User s Manual...
Страница 336: ...12 CommonCommands...
Страница 344: ...13 SCPISignalOriented MeasurementCommands...
Страница 353: ...13 10 SCPI Signal Oriented Commands Model 2700 Multimeter Switch System User s Manual...
Страница 363: ...14 10 FORMat and Misc SYSTem Commands Model 2700 Multimeter Switch System User s Manual...
Страница 364: ...15 SCPIReferenceTables...
Страница 391: ...A 2 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 392: ...Model 2700 Multimeter Switch System User s Manual Specifications A 3...
Страница 393: ...A 4 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 394: ...Model 2700 Multimeter Switch System User s Manual Specifications A 5...
Страница 395: ...A 6 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 400: ...B Model7700ConnectionGuide...
Страница 411: ...B 12 Model 7700 Connection Guide Model 2700 Multimeter Switch System User s Manual...
Страница 412: ...C StatusandErrorMessages...
Страница 419: ...C 8 Status and Error Messages Model 2700 Multimeter Switch System User s Manual...
Страница 420: ...D SignalProcessing SequenceandDataFlow...
Страница 433: ...D 14 Signal Processing Sequence and Data Flow Model 2700 Multimeter Switch System User s Manual...
Страница 434: ...E MeasurementConsiderations...
Страница 443: ...E 10 Measurement Considerations Model 2700 Multimeter Switch System User s Manual...
Страница 454: ...G IEEE 488BusOverview...
Страница 469: ...G 16 IEEE 488 Bus Overview Model 2700 Multimeter Switch System User s Manual...
Страница 470: ...H KE2700InstrumentDriver Examples...
Страница 489: ...H 20 KE2700 Instrument Driver Examples Model 2700 Multimeter Switch System User s Manual...
Страница 499: ......