I
-
I
-
Automating Measurements
Operator Interaction
Modifying a
U#caJc..EGfN
Program.
You can modify the
User
BEGIN program with the built-in editor, an
ASCII
file editor on a computer, or with keystroke recording. For example, to modify
the default program to recall a setup:
1.
Select (SYSTEM OPTIONS]
IBASIC
E&St
. Move the edit cursor to line:
15
OUTPUT
OHp8714;“DISP:MENU2:KEYl
‘*‘;*WAI”
2. Use an external keyboard to replace
’
*
’
with
’
Setup
1’
.
3. Move the edit cursor to line 28. Delete the line.
4. Use keystroke recording to create a setup function if you like, or you can
now insert code you have written.
lb use keystroke recording to modify the program:
5.
Exit the editor by selecting
Prior
Menu.
6.
Enable keystroke recording with
Key
Necurd
ON .
7. Now perform the keystrokes required for setup 1.
3.
When the setup is completed, select
CSYSTEM
OPTIONS
)
IBASIC
Ksy
Rsccxd
OF!?.
g.
‘Ib
verify your change, select
[M)
(BEGIN)
User
BEGIN
ON ,
10. Select
softkey
1 which should be
labelled
“Setup 1”. This should return
you to your correct setup.
11. You may save this program as an AUTOST
llle
or other
file
for later recall.
Refer to the manual supplement, Using HP
IBASIC
with the
HP 871 lC/12C/13C/l4C,
provided
in
the
HP Instrument
BASIC
User’s
Handbook,
for more information about editing, saving and recalling program
IYes.
7-27
I-