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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example of Using the P Format<br />

This example sends trace datatothe computer <strong>and</strong> backtothe spectrum analyzer using P<br />

format.<br />

Note The spectrum analyzer mustbeinthelog amplitude scale to use the TDF P<br />

format.<br />

1 REAL Trace_data(l:401) Declare an array for trace data.<br />

10 OUTPUT 718;"IP;CF 300MHZ;SP 20MHZ;SNGLS;TS;" Zzke a measurement sweep.<br />

20 OUTPUT 718;"TDF P;TRA?;" Activate the P format, output<br />

trace A data.<br />

30 ENTER 718;Trace_data(*) The computer receives trace A<br />

40 OUTPUT 718;"VIEW TRA;MOV TRA,O;"<br />

50 OUTPUT 718*"RL'*"<br />

' * ,<br />

60 DISP "PRESS CONTINUE WHEN READY"<br />

70 PAUSE<br />

80 ENTER 718;RefJevel<br />

90 MAT Trace-data=Trace-data-(Ref-level)<br />

100 MAT Trace,data=Trace-data*(lOO)<br />

110 MAT Trace,data=Trace_data+(8000)<br />

120 OUTPUT 718m"TRA I).<br />

130 OUTPUT 718ITrace_data(*)<br />

140 LOCAL 718<br />

150 END<br />

data from the spectrum analyzer<br />

lb v&f@ that the trace data is<br />

transferred back to the spectrum<br />

analyzq set trace A to zeros.<br />

Determine the amplitude of the<br />

reference level. The amplitude<br />

of the reference level is used to<br />

change the integers sent to the<br />

spectrum analyzer into real numbers.<br />

Get the refsrence level.<br />

These lines change the real trace<br />

data (stored in Trace-data) into<br />

integers (in measurem.ent units).<br />

Sends the trace data back to the<br />

spectrum analyzer in measurement<br />

units.<br />

The trace data is sent to the computer in parameter units. A parameter unit is a st<strong>and</strong>ard<br />

scientific unit. For the TDF P format, the parameter unit depends on the current amplitude<br />

units (dBm, dBmV, dBpV, V, W). Use the AUNITS comm<strong>and</strong> to change the units.<br />

For more detailed information about the P format, see the description for TDF in Chapter 5.<br />

Programming Topics 3-21

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

Saved successfully!

Ooh no, something went wrong!