Automating Measurements
Operator Interaction
Once you have selected a menu, the same menu will be displayed
for subsequent key presses of the
@?%i]
hardkey.
(This is not true if
your
IBASIC
program has changed. If your program has changed, the
User
BEGIN
mode is reset to OFF)
By selecting (SYSTEM OPTIONS) System Conf$g
Softkey
Auto-Step
User
TTL
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 defined by a
sequence of
IBASIC
commands defined within an
IBASIC
program.
IBASIC
programs to be used for
User
BEGIN
must have the following structure:
10
20
30
40
50
60
70
80
100
110
120
140
150
160
170
200
210
!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
0871X;“DISP:MENU2:KEY3
‘Save
Results’;*WAI”
OUTPUT
087lX;“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
. . .
User,key7:
!Insert
code for
softkey
7 here
GOT0
User-pause
7-23
深圳市盛腾仪器仪表有限公司 Tel:0755-83589391 Fax:0755-83539691 Website: www.Sengt.com