5-108 Status Word Definitions
SR780 Network Signal Analyzer
request. Subsequent serial polls will return SRQ cleared (0) until another service
request occurs. Polling the status word and reading it with *STB? can return
different values for SRQ. When serial polled, SRQ indicates a service request has
occurred. When read with *STB?, SRQ indicates that an enabled status bit is set.
Service Requests (SRQ)
A GPIB service request (SRQ) will be generated whenever a bit in both the Serial
Poll status word AND Serial Poll enable register is set. Use *SRE to set bits in
the Serial Poll enable register. A service request is only generated when an
enabled Serial Poll status bit becomes set (changes from 0 to 1). An enabled
status bit which becomes set and remains set will generate a single SRQ. If
another service request from the same status bit is desired, the requesting status
bit must first be cleared. In the case of the INST, DISP, INPT, IERR and ESB
bits, this means clearing the enabled bits in the Instrument, Display, Input, Error
or Standard Event status words (by reading them) or clearing the appropriate bits
in the corresponding enable registers. Multiple enabled bits in these status words
will generate a single SRQ. Another SRQ (from INST, DISP, INPT, IERR or
ESB) can only be generated after clearing the INST, DISP, INPT, IERR or ESB
bits in the Serial Poll status word.
The controller should respond to the SRQ by performing a serial poll to read the
Serial Poll status word to determine the requesting status bit. Bit 6 (SRQ) will be
reset by the serial poll.
For example, to generate a service request when a TRIGGER occurs, bit 0 in the
Instrument Status enable register needs to be set (INSE 1 command) and bit 0 in
the Serial Poll enable register must be set (*SRE 1 command). When a trigger
occurs, bit 0 in the Instrument status word is set. Since bit 0 in the Instrument
status word AND enable register are set, this ALSO sets bit 0 (INST) in the
Serial Poll status word. Since bit 0 in the Serial Poll status word AND enable
register are set, an SRQ is generated. Bit 6 (SRQ) in the Serial Poll status word is
set. Further triggering will not generate another SRQ until the TRIGGER status
bit is cleared. The TRIGGER status bit is cleared by reading the Instrument status
word (with INST?) or clearing bit 0 in the Instrument status enable register (with
INSE). Presumably, the controller is alerted to the trigger via the SRQ, performs
a serial poll to clear the SRQ, does something in response to the trigger (read data
for example) and then clears the TRIGGER status bit by reading the Instrument
status register. A subsequent trigger will then generate another SRQ.
Standard Event Status Word
Bit Name Set
when
0 unused
1 unused
2
QRY
Too many responses are pending
3
DDE
Too many commands received at once
4
EXE
Command cannot execute successfully
5
CME
Command syntax error
6
URQ
A key is pressed or the knob rotated
7
PON
Power is turned on
Summary of Contents for SR780
Page 4: ...ii SR780 Network Signal Analyzer ...
Page 10: ...viii SR780 Network Signal Analyzer ...
Page 18: ...1 2 Getting Started SR780 Network Signal Analyzer ...
Page 39: ...Triggering and the Time Record 1 23 SR780 Network Signal Analyzer ...
Page 40: ...1 24 Triggering and the Time Record SR780 Network Signal Analyzer ...
Page 58: ...1 42 Waterfall Display SR780 Network Signal Analyzer ...
Page 70: ...1 54 Saving and Recalling SR780 Network Signal Analyzer ...
Page 167: ...Status Indicators 3 21 SR780 Network Signal Analyzer ...
Page 188: ...4 6 Menus SR780 Network Signal Analyzer ...
Page 193: ...FFT Frequency Menu 4 11 SR780 Network Signal Analyzer Command FEND d f ...
Page 232: ......
Page 236: ...4 54 Source Menu SR780 Network Signal Analyzer Command STYP i ...
Page 266: ...4 84 Playback Input Menu SR780 Network Signal Analyzer ...
Page 272: ...4 90 Trigger Menu SR780 Network Signal Analyzer ...
Page 288: ...4 106 Swept Sine Average Menu SR780 Network Signal Analyzer ...
Page 326: ...144 Exceedance Statistics Menu SR780 Network Signal Analyzer ...
Page 352: ...4 170 Output Menu SR780 Network Signal Analyzer ...
Page 478: ......