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.

IF THEN ELSE ENDIF If Then Else Endif<br />

The “equal to” (EQ) operator is not recommended if value 1 or value 2 represents a real<br />

number. When checking for equality with real numbers, the difference between the numbers is<br />

useful. For example:<br />

OUTPUT 718;"SUB T,EST,V-ARA,V,ARB;" Pkices the di@?wn.ce of VARA <strong>and</strong> V-ARB into<br />

T-EST. VARA, VA@ <strong>and</strong> T-EST are userd&ned<br />

variables.<br />

OUTPUT 718;"ABS T,EST,T-EST;" Finds the absolute value of T-EST<br />

OUTPUT 718;"IF T,EST,LT,.Ol THEN;" Does a comparison.<br />

OUTPUT 718;"CF UP;"<br />

OUTPUT 718~"ENDIF~"<br />

9 ,<br />

When used within a downloadable program (DLP), the maximum number of IF THEN ELSE<br />

ENDIF statements that can be nested is 20.<br />

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

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

Saved successfully!

Ooh no, something went wrong!