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<br />

COMPRESS Compress Trace<br />

This example compresses trace B into “C-0MPTRAC” using the positive (POS) algorithm.<br />

10 OUTPUT 718."IP-"<br />

20 OUTPUT 718;"TR;EF C-OMPTRAC,lOO;"<br />

30 OUTPUT 718 ;“BLANK TRA; SNGLS;"<br />

40 OUTPUT 718;"CLRW TRB;TS;"<br />

50 OUTPUT 718;"COMPRESS C-OMPTRAC,TRB,POS;"<br />

60 OUTPUT 718;"BLANK TRB;"<br />

70 OUTPUT 718;"MOV TRA,C-OMPTRAC;"<br />

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

90 END<br />

Description<br />

Initializes spectrum analyz4x<br />

Creates a trace called C-OMFTRACwith<br />

a length of 100 elements.<br />

Blanks trace A, activates single-sweep<br />

mode.<br />

Measures with trace B<br />

Compresses trace B into C-OMFTRAC.<br />

Blanks trace B<br />

Moves C-OMPTRAC into trace A.<br />

Displays the result.<br />

The COMPRESS comm<strong>and</strong> stores a compressed copy of the source trace into a smaller<br />

destination trace. The source trace is divided into the same number of intervals as there are<br />

points in the destination trace, <strong>and</strong> the data within each interval are compressed into the value<br />

for the corresponding destination trace point. The algorithm used to compress the data is given<br />

as an parameter to the comm<strong>and</strong>.<br />

The algorithms available are as follows:<br />

AVERAGE<br />

@W<br />

NORMAL<br />

NW<br />

The average of the points within an interval is used.<br />

NRM computes the compressed value of the interval by using a rosenfell<br />

algorithm. The rosenfell algorithm is a mathematical operation defined in<br />

spectrum analyzer firmware. The algorithm compresses a locally continuously<br />

rising or falling signal into the peak value detected in each interval. If the<br />

detected signal is not continuously rising or falling, then the data value<br />

alternates between minimum <strong>and</strong> maximum in the compressed interval.<br />

This shows the peak-to-peak noise variations. The rosenfell option is useful<br />

for accurately displaying noise, because peak detection can give misleading<br />

representation of noise.<br />

NEGATIVE The lowest value in each interval is used.<br />

(NW<br />

POSITIVE Specifying POS selects the highest point in the interval as the compressed<br />

(PW value.<br />

SAMPLE (SMP) Specifying SMP selects the last point in the interval as the compressed value.<br />

PEAK The PKAVG algorithm selects the difference between the peak <strong>and</strong> the average<br />

AVERAGE value of the interval as the compressed value.<br />

(PKAVG)<br />

PEAK PIT The PKPIT algorithm returns the difference between the positive <strong>and</strong> the<br />

(PKPIT) negative peaks within the interval.<br />

Programming Comm<strong>and</strong>s 5-l 13

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

Saved successfully!

Ooh no, something went wrong!