Technical data
198
S:\hp11807a\OPT001\USRGUIDE\BOOK\chapters\referenc.fb
Chapter 5, Reference (Alphabetical)
Disks
Disks
Initializing a Disk
If you are starting with a blank disk, you will have to initialize it to the format you
have chosen. Disk drives require specific commands to perform initialization. The
test set’s IBASIC commands to initialize some disks are described here. You
should verify that the drive you are using can be controlled by the test set and that
you are initializing a disk using a drive or PC that has a compatible format.
To initialize a disk
to LIF in an HP-IB
disk drive:
1. Verify that the test set Mode on the I/O CONFIGURE screen is set to Control:
a. Press TESTS.
b. Select IBASIC Cntrl from the SET UP TEST SET list (or IBASIC from the
Test Function field).
c. Position the cursor to the IBASIC command field and select it.
d. With the list of characters in the Choices menu, enter the following:
INITIALIZE “:,7xx,y”
where:
xx = the HP-IB address of the disk drive, and
y = the unit number of the drive.
To initialize a disk
to DOS in an HP-
IB drive:
Follow the procedure for the LIF format, replacing the INITIALIZE statement with
INITIALIZE “DOS:,7xx,y”.
Retrieving Data from a Disk
One way to retrieve the test results from a disk is to run an IBASIC program. A
program to transfer data from a disk to a terminal emulator is given below. You
can type it into the IBASIC command line from the terminal emulator.
Be sure your program is saved, because it will be deleted from programmable
memory. The file name for this example is “RES”. The disk address is 700, and
the drive number is 0. The entire file name is
RES:,700,0.