Automating Measurements 3-7
Operator Interaction
User-Defined BEGIN Key Menu
By selecting
, you can automatically step
through the user-defined menu keys by use of a switch
connected to the USER TTL IN/OUT rear panel connector. See “Using a
Switch with User BEGIN” on page 3-11 for more information.
Selecting the softkey will run a macro function defined
by a sequence of IBASIC commands defined within an IBASIC program.
IBASIC programs to be used for must have the following
structure:
10 !The following label must be present. DO NOT REMOVE
20 User_begin: !
30 ...
40 ! Define softkey labels
50 OUTPUT @871X;"DISP:MENU2:KEY1 'Test Setup 1';*WAI"
60 OUTPUT @871X;"DISP:MENU2:KEY2 'Test Setup 2';*WAI"
70 OUTPUT @871X;"DISP:MENU2:KEY3 'Save Results';*WAI"
80 OUTPUT @871X;"DISP:MENU2:KEY4 'Print Results 4';*WAI"
100 User_pause: PAUSE
110 GOTO User_pause
120 !The following key labels must be present. DO NOT REMOVE
140 User_key1: !Insert code for softkey 1 here
150 GOTO User_pause
160 User_key2: !Insert code for softkey 2 here
170 GOTO User_pause
...
200 User_key7: !Insert code for softkey 7 here
210 GOTO User_pause
SYSTEM OPTIONS
BEGIN