Agilent Technologies 8566B Operating And Programming Manual page 467

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

Advertisement

Item
VARIABLE
IDENTIFIER
The VARDEF command assigns a real value to a variable. The value is assigned immediately after VARDEF
execution and reassigned during any instrument preset.
The following program demonstrates the VARDEF command.
10 OUTPUT 718;"SNGLS;"
20
OUTPUT 718;"VARDEF COUNT,0;V..DEF SCOR,0;"
30
OUTPUT 718; "FUNCDEF C-LOP;" " "
40
OUTPUT 718; "REPEAT TS;"
OUTPUT 718; "ADD COUNT,COUNT, 1;"
80
OUTPUT 718;"TJNTIL COUNT,EQ,B;" " "
70 OUTPUT 718;"REPEAT;"
80 OUTPUT 718;"C-LOP;"
90
OUTPUT 718;"ADD scoRE,scoRE,1;"
100 OUTPUT 718;"lJNTIL SCORE,EQ,4;"
variable
VARDEF
identifier
Description/Default
User-defined identifier. Alphanumeric
character.
Variable Define
real
Range Restriction
Programming 359
VARDEF
I
I

Advertisement

Table of Contents
loading

Table of Contents