EE

Enable Entry

Sends the controller the values entered on the spectrum analyzer numeric keypad by the
operator.
Syntax
<
EE
XEE
Related Commands: RQS.
Example
The following example works with both RS-232 and HP-IB interfaces; however, the address
(718) must be changed for RS-232 operation.
The program polls the spectrum analyzer for its status byte.
10
PRINTER IS 1
Outputs to the computer screen.
20 DISP
"Enter new value with spectrum analyzer
number pad and terminate with units
key"
30 OUTPUT
718;"RQS
2;CF
EE;"
40 REPEAT
50
OUTPUT
718;"STB?;"
60
ENTER 718;A
70 UNTIL
BIT(A,l)=l
80
DISP
90
OUTPUT
718;"?;"
100
ENTER
718;New,value
110 PRINT "You entered the value of
'I;
New-value
120
OUTPUT
718;"HD;"
130
END
Sets up SRQ mask,
then
uses the
enable entry
mode.
Rd?s
the spectrum analyzer until
entry is complete.
Asks the spectrum analyzer for
status byte.
Does REPEAT UNTIL loop until
user presses a terminating key.
Asks for ermy.
Displays
value.
Turns oflenable entry mode
5-146
Programming Commands