Automating Measurements
Operator Interaction
Once you have selected a menu, the same menu will be displayed
for subsequent key presses of the
m
hardkey.
(This is not true if
your
IBASIC
program has changed. If your program has changed, the
User
REZIN
mode is reset to OFF’.)
By selecting
&YSTEM
OPTIONS)
System
CordRig
SMtki~
Auta-St;ep
User
TM,
Input;
you can automatically step through the user-defined
(BEGIN)
menu keys by use of a switch connected to the USER TTL IN/OUT
rear panel connector. See “Using User-Defined
[BEGIN)
with a Switch,
’
later
in this chapter for more information.
Selecting the User
BEGIN
softkey
will run a macro function
deEned
by a
sequence of
IBASIC
commands defmed within an
IBASIC
program.
IBASIC
programs to be used for User
I&GIN
must have the following structure:
10
20
30
40
50
60
70
80
100
110
120
140
150
160
170
!The
following label must be present.
DO NOT REMOVE
User-begin: !
. . .
! Define
softkey
labels
OUTPUT
087lX;“DISP:MENU2:KEYl
‘Test Setup
l’;*WAI”
OUTPUT
087lX;“DISP:MENU2:KEY2
‘Test Setup 2’;*WAI”
OUTPUT
987lX;“DISP:MENU2:KEY3
‘Save
Results’;*WAI”
OUTPUT
@87lX;“DISP:MENU2:KEY4
‘Print Results 4’;*WAI”
User-pause: PAUSE
GOT0
User-pause
!The
following key labels must be present.
DO NOT REMOVE
User,keyl:
!Insert
code for
softkey
1 here
GOT0
User-pause
User,key2:
!Insert
code for
softkey
2 here
GOT0
User-pause
.
.
.
200
User,key7:
!Insert
code for
softkey
7 here
210
GOT0
User-pause
7-23
I-