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.

I-Block Format<br />

Note<br />

The I-block format is not recommended for use with the RS-232 interface<br />

(Option 043).<br />

The I-block format transfers data points as two 8-bit bytes in the internal representation of<br />

measurement data. In addition to transferring trace data, I-block format also transfers the<br />

characters I‘#” <strong>and</strong> “I”. These characters indicate that the trace data is in I-block format. The<br />

I-block format allows the spectrum analyzer to accept up to 401 points of trace data when<br />

using I-block format. Fewer than 401 points of trace data can be specified, <strong>and</strong> the spectrum<br />

analyzer will accept data until an EOI signal is sent to it. Therefore, returning the trace data to<br />

the spectrum analyzer requires an important instruction, END. (See following example.)<br />

Example of Using the I-Block Format<br />

This example sends trace data from the spectrum analyzer to the computer <strong>and</strong> back to the<br />

spectrum analyzer in I-block format.<br />

10 INTEGER Tra_binary(l:401)<br />

20 DIM Header$[Z]<br />

30 OUTPUT 718;"IP;CF 300MZ;SP 20MZ;SNGLS;TS;"<br />

40 OUTPUT 718;"TDF I;TRA?;"<br />

50 ENTER 718 USING "#,2A,40l(W)";Header$,Tra,binary(*)<br />

60 PRINT "PRESS CONTINUE TO RETURN DATA TO THE ANALYZER"<br />

70 PAUSE<br />

80 OUTPUT 718;"IP;TS;VIEW TRA;"<br />

90 OUTPUT 718;"TDF I;"<br />

100 OUTPUT 718 USING "#,K,W,401(W)";"TRA#I",<br />

Tra-binary(*)<br />

110 END<br />

Dec.kzre an array for trace<br />

data.<br />

Declare an array for #, I<br />

header:<br />

llzke a mxxsurement sweep.<br />

Send trace A data in Iblock<br />

format.<br />

The computer receives the<br />

header <strong>and</strong> trace A data.<br />

View trace A.<br />

The trace data is returned<br />

to the spectrum analyzer<br />

The END statement in line 100 sends the spectrum analyzer the last data byte stored in the<br />

array <strong>and</strong> sets the <strong>HP</strong>-IB EOI line “true,” as required by the I-block format.<br />

The transferred trace data consists of #I, followed by data bytes until the EOI line is set true.<br />

For more detailed information about the I-block format <strong>and</strong> the MDS comm<strong>and</strong>, see the<br />

descriptions for TDF <strong>and</strong> MDS in Chapter 5.<br />

Programming Topics 3-25

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

Saved successfully!

Ooh no, something went wrong!