Agilent Technologies 8566B Operating And Programming Manual page 447

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

THEN
IF
ELSE ENDIF
command
ELSE
I ist
Item
COMMAND LIST
VARIABLE
IDENTIFIER
NUMERIC DATA
FIELD
The IF-THEN-ELSE-ENDIF commands form a decision and looping construct. They compare operand
1 to operand 2. If the condition is true, the command list is executed. Otherwise, commands following
ELSE or ENDIF are executed.
The IF command must be delimited with the ENDIF command.
The following program uses the IF THEN ELSE ENDIF command to place a marker on the largest signal
that is greater than the threshold level.
3 3 8 P r o g r a m m i n g
/ - O P E R A N D 11
v a r i a b l e
i d e n t i f i e r
n u m e r i c
d a t a f i e l d -)
command
END I F
I ist
Description/Default
Alphanumeric character. Any spectrum
analyzer command from this section.
Alpha character. User-defined identifier
declared in VARDEF statement.
Alpha character. Measurement-variable
identifier. such as CF or MA.
Trace element, such as TRA[lO].
Real
v a r i a b l e
THEN
i d e n t i f i e r
n u m e r i c
d a t a f i e l d
Range Restriction

Advertisement

Table of Contents
loading

Table of Contents