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.

Example<br />

PDF Probability Distribution of Frequency<br />

This example finds the portions of the frequency b<strong>and</strong> where no signals above -50 dBm are<br />

observedin an hour time frame.<br />

10 OUTPUT 718;"IP;"; Initializes spectrum anal~.z.ex<br />

20 OUTPUT 718;"SP 1OOMZ;CF 300MZ;” Changes the span <strong>and</strong> centerfrequency<br />

30 OUTPUT 718;"TH -50 DM;TS;" Activates the threshold level, take a<br />

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

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

60 ENTER 718;Sweepitime<br />

70 Sup-retrace = Sweep-time+.1<br />

80 Num,sweeps = 3600/Swp,retrace<br />

90 FOR I = 1 TO Num-sweeps<br />

100 OUTPUT 718;"TS;PDF TRB,TRA;"<br />

110 NEXT I<br />

120 END<br />

Description<br />

sweep.<br />

Sets trace B to zeros.<br />

Gets the sweep time.<br />

I&turns the sweep time to the controller:<br />

Calculates the total sweep time, including<br />

the retrace time.<br />

Calculates the number of sweeps in<br />

one hour:<br />

Thisjino!s the maximum number of<br />

sweeps that can be taken before numerical<br />

ove@ow (greater than 32,767.)<br />

When I = Num-sweeps, trace B contains<br />

the number of sweep that had<br />

amplitudes at or above the threshold<br />

level of -50 dBm.<br />

The TH comm<strong>and</strong> permits the user to set an amplitude threshold value. When PDF is<br />

performed, measurement buckets of the source trace that exceed the threshold increment the<br />

corresponding frequency bucket in the destination trace.<br />

The destination trace should be set to zeros before PDF is executed for the first time.<br />

Subsequent calls to PDF increment the destination trace.<br />

When the source is longer than the destination, the source is truncated to fit. When the source<br />

is shorter than the destination, the last element is repeated to fill the destination. The PDF<br />

function is similar to the probability density function in statistics. The probability density<br />

function has the y-axis as the probability of an occurrence, where the PDF function of the<br />

<strong>HP</strong> <strong>8590</strong> <strong>Series</strong> spectrum analyzer has the number of occurrences as its y-axis. The PDF could<br />

be converted to a probability density function by dividing, in an external controller, the value<br />

on each bucket by the total number of buckets. Note that performing the division inside the<br />

spectrum analyzer would not be appropriate because the result is less than 1, which would be<br />

truncated to 0.<br />

Programming Comm<strong>and</strong>s 5.423

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

Saved successfully!

Ooh no, something went wrong!