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.

REPEAT UNTIL Repeat Until<br />

Example<br />

The following program lowers any off-screen signal.<br />

10 OUTPUT 718;"IP;"<br />

20 OUTPUT 718;"SNGLS;TS;MKPK HI;"<br />

30 OUTPUT 718;"IF MA,GT,RL THEN;"<br />

40 OUTPUT 718;"REPEAT;"<br />

50 OUTPUT 718;"RL UP;TS;MKPK HI;"<br />

60 OUTPUT 718;"UNTIL MA,LE,RL;"<br />

70 OUTPUT 718;"ENDIF;"<br />

80 OUTPUT 718."CONTS-" s 3<br />

70 END<br />

Description<br />

Initializes spectrum anal~zfx<br />

Activates single-sweep mode, takes sweep, places<br />

marker on signal peak.<br />

Performs lines 40, 50 <strong>and</strong> 60 if the marker<br />

amplitude is greater than the reference level.<br />

Increases refwence level, takes sweep, places<br />

marker on signal peak.<br />

Does line 40 until peak amplitude is less than<br />

or equal to the reference level.<br />

Ends the IF THEN constrwt.<br />

All comm<strong>and</strong>s following the REPEAT comm<strong>and</strong> are executed until the comparison specified<br />

after the UNTIL comm<strong>and</strong> is true.<br />

The following are used for comparing the oper<strong>and</strong>s:<br />

GT Greater than<br />

I.3 Less than<br />

IJ3 Less than or equal to<br />

GE Greater than or equal to<br />

EQ Equal to<br />

NE Not equal to<br />

When used within a downloadable program (DLP), the number of REPEAT UNTIL statements<br />

that can be nested is limited to 20.<br />

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

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

Saved successfully!

Ooh no, something went wrong!