Status Reporting Commands 5-103
SR780 Network Signal Analyzer
Status Reporting Commands
The Status Word definitions follow this section.
*
CLS
The *CLS command clears all status registers. The enable registers are not
changed.
*
PSC (?) {i}
The *PSC command sets the value of the power-on status clear bit.
If i=1 the power-on status clear bit is set and all status registers and enable
registers are cleared on power up.
If i=0 the bit is cleared and all enable registers are stored at power down. The
status registers are cleared and the enable registers are restored to their stored
values on power up. This allows a service request to be generated at power up.
*
SRE (?) {i} {, j}
The *SRE i command sets the Serial Poll enable register to the decimal value i
(0-255). The *SRE i, j command sets bit i (0-7) to j (0 or 1).
The *SRE? command queries the value (0-255) of the serial poll enable register.
The *SRE? i command queries the value (0 or 1) of bit i (0-7).
When a bit becomes set in BOTH the Serial Poll status word AND the Serial Poll
enable register, an SRQ (GPIB service request) is generated. The SRQ is cleared
by performing a serial poll. The bit in the Serial Poll status word which caused
the SRQ must be cleared before this bit can cause another SRQ. To clear this bit,
the condition which causes it to be set in the Serial Poll status word needs to be
cleared. For the INST, DISP, INPT, IERR or ESB bits, this is accomplished by
clearing the enabled status bits in the Instrument, Display, Input, Error or
Standard Event status words (by reading them).
*
STB ? {i}
The *STB? command queries the value of the Serial Poll status word. The value
is returned as a decimal number from 0 to 255. The *STB? i command queries
the value (0 or 1) of bit i (0-7).
The value of bit 6 (SRQ) when read using *STB? returns 1 if a bit is set in
BOTH the Serial Poll status word AND the Serial Poll enable register. This is
independent of serial polling and SRQ’s. Bit 6 is the SRQ bit only when serial
polled.
*STB? has no effect on the value of the Serial Poll status word. To clear a bit in
the Serial Poll status, the condition which causes it to be set must be cleared. For
the INST, DISP, INPT, IERR or ESB bits, this is accomplished by clearing the
enabled status bits in the Instrument, Display, Input, Error or Standard Event
status words (by reading them).
Содержание SR780
Страница 4: ...ii SR780 Network Signal Analyzer ...
Страница 10: ...viii SR780 Network Signal Analyzer ...
Страница 18: ...1 2 Getting Started SR780 Network Signal Analyzer ...
Страница 39: ...Triggering and the Time Record 1 23 SR780 Network Signal Analyzer ...
Страница 40: ...1 24 Triggering and the Time Record SR780 Network Signal Analyzer ...
Страница 58: ...1 42 Waterfall Display SR780 Network Signal Analyzer ...
Страница 70: ...1 54 Saving and Recalling SR780 Network Signal Analyzer ...
Страница 167: ...Status Indicators 3 21 SR780 Network Signal Analyzer ...
Страница 188: ...4 6 Menus SR780 Network Signal Analyzer ...
Страница 193: ...FFT Frequency Menu 4 11 SR780 Network Signal Analyzer Command FEND d f ...
Страница 232: ......
Страница 236: ...4 54 Source Menu SR780 Network Signal Analyzer Command STYP i ...
Страница 266: ...4 84 Playback Input Menu SR780 Network Signal Analyzer ...
Страница 272: ...4 90 Trigger Menu SR780 Network Signal Analyzer ...
Страница 288: ...4 106 Swept Sine Average Menu SR780 Network Signal Analyzer ...
Страница 326: ...144 Exceedance Statistics Menu SR780 Network Signal Analyzer ...
Страница 352: ...4 170 Output Menu SR780 Network Signal Analyzer ...
Страница 478: ......