Agilent Technologies 8590 TV Converter Box User Manual


 
ABORT Abort
ABORT
Abort
Stops the execution all user-defined functions and readies the instrument for the next
command received.
Syntax
ABORT
Related Commands: ACTDEF, FUNCDEF, REPEAT/UNTIL, RETURN.
Example
In the example below, ABORT is in the function called
D-LP.
10
OUTPUT
718*"IP-"
20
OUTPUT
718;"CLRDSP;"
30 OUTPUT
718;"TRDSP
TRA,OFF;"
40 OUTPUT
718;"ANNOT
0FF;GRAT
OFF;"
50 OUTPUT
718;"VARDEF
C-OUNT,O;"
60
!
70 OUTPUT
718;"FUNCDEF
D-LP,Q";
80
OUTPUT
718;"REPEAT;";
90 OUTPUT
718;"ADD
C,OUNT,C-OUNT,lOO;";
100 OUTPUT
718;"PU,PA
100,lOO;PD;";
110 OUTPUT
718;"DSPLY
C-OUNT,4.0;";
120 OUTPUT
718;"IF
C_OUNT,EQ,300
THEN;ABORT;ENDIF;";
130 OUTPUT
718;"UNTIL
C_OUNT,EQ,400;";
140
OUTPUT
718*"0*"*
150
OUTPUT
718;"F;NCDEF
S-HELL,@";
160 OUTPUT
718;"D,LP;TEXT!INSIDE
S-HELL!;@"
170
!
180
OUTPUT
718;"SBHELL;"
190
END
Initializesspectrum analyzer
Clears graphics from the spec-
trum analyzer
display.
Turns
ofl
trace A.
Blanks annotation and
graticule.
Declares a
user-&fined
vari-
able called C-OUNT
Declares a user-d@inedfunc-
tion called
D-LR
Begins a repeat loop.
Adds
100
to COUNT.
Displays the
valz~
of
C-OlliNT.
Aborts the function when
COUNT
is equal to 300.
This is not executed because
of the ABORT command in
line 120.
Ma&s
end of D-LI?
DQhtes
second
user-d@ined
function called SHELL.
Executes
D-LPand
displays
message on display
This calls the
S-HELLjknc-
tion which in turn calls the
D_LP
function.
Programming Commands 5-29