09.12.2012 Views

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

HP 8590 E & L Series Spectrum Analyzers and HP 8591C Cable TV ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Bit<br />

Number<br />

Decimal<br />

Equivalent<br />

32<br />

16<br />

8<br />

4<br />

2<br />

‘Ihble 5-9. <strong>Spectrum</strong> Analyzer Status Byte<br />

<strong>Spectrum</strong> Analyzer<br />

State<br />

Set when an illegal<br />

comm<strong>and</strong> is present.<br />

Set when any comm<strong>and</strong> is<br />

completed.<br />

Indicates hardware broken<br />

condition.<br />

Indicates end of sweep.<br />

Indicates a units key was<br />

pressed.<br />

Bit numbers 0 (LSB), 6, <strong>and</strong> 7 are not used.<br />

SRQ Force Service Request<br />

Description<br />

SRQ 140 appears on the spectrum<br />

analyzer screen.<br />

It is triggered by EOI at the end of a<br />

comm<strong>and</strong> string or the completion of a<br />

print or plot.<br />

SRQ 110 appears on the spectrum<br />

analyzer screen.<br />

SRQ 104 appears on the spectrum<br />

analyzer screen. If you send any R&S<br />

value that contains mask value 4,<br />

another sweep will be taken.<br />

SRQ 102 appears on the spectrum<br />

analyzer screen. If you activate the<br />

units key bit, it will remain active until<br />

you activate “EE” <strong>and</strong> press a units key.<br />

(See “EE.“)<br />

The spectrum analyzer screen numbers 102, 104, <strong>and</strong> 110 are the octal values corresponding<br />

to the status register values; that is, SRQ 102 = bit 6 = octal 100 <strong>and</strong> bit 2 = octal 2 are both<br />

true.<br />

Generally, you must set the bit mask using the RQS comm<strong>and</strong>. However, the “hardware<br />

broken” <strong>and</strong> “illegal remote comm<strong>and</strong>” conditions are automatically enabled after presetting<br />

or sending the IP comm<strong>and</strong>. Pressing C-1 or sending the IP comm<strong>and</strong>, then, produces the<br />

same interrupt bit mask as sending “RQS 40; n (decimal 40 is the sum of the assigned values of<br />

these two interrupt bits, 32 = bit 5 <strong>and</strong> 8 = bit 3).<br />

For most conditions, the RQS mask bit stays set until the next instrument preset (IP), or RQS<br />

comm<strong>and</strong> is executed. The only condition to which this does not apply is the Units Key Pressed<br />

bit. When this bit (bit 1) is set in the RQS mask, a Units Key Pressed interrupt occurs if EE<br />

(enable entry mode) is executed <strong>and</strong> a front-panel units key such as Hz, kHz, MHz, or GHz is<br />

pressed.<br />

When a units key is pressed, the interrupt occurs <strong>and</strong> the Units Key Pressed bit in the RQS<br />

mask is reset. lb reenable the Units Key Pressed interrupt, you must send a new RQS mask.<br />

See “RQS” for detailed information.<br />

As mentioned, you can simulate a service request condition. Choose the desired interrupt<br />

conditions from the RQS comm<strong>and</strong> table (see “RQS”), <strong>and</strong> sum their assigned values. Use the<br />

RQS comm<strong>and</strong> with this value to set the bit mask. By setting the corresponding bits in the<br />

SRQ comm<strong>and</strong> <strong>and</strong> sending the SRQ comm<strong>and</strong> to the spectrum analyzer, the desired interrupt<br />

occurs. This allows the user to verify proper operation of software routines designed to h<strong>and</strong>le<br />

infrequent or unlikely interrupts.<br />

Programming Comm<strong>and</strong>s 5-521

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!