Technical data

192
S:\hp11807a\OPT001\USRGUIDE\BOOK\chapters\referenc.fb
Chapter 5, Reference (Alphabetical)
Data Collection (Saving and Retrieving Test Results)
Retrieving Data from a Memory Card
To retrieve the test results after they have been saved on an SRAM memory card,
you will have to run an IBASIC program. The following is a program to transfer
data from a memory card to a terminal emulator. You can type the program lines
into the IBASIC command line from a terminal emulator. See
"Configuration for
Terminal or PC Operation" on page 195
.
To enter the data
retrieval program:
1. Press TESTS.
2. Select IBASIC Cntrl from the SET UP TEST SET list (or IBASIC from the
Test Function field).
3. Position the cursor to the IBASIC command field (large field in the upper part of the
display) and select it. From the list of characters in the Choices field, enter the
following IBASIC program statements and commands.
4. Enter SCRATCH to delete the previous IBASIC program. Be sure it’s saved first.
5. Enter the following program:
10 DIM A$[120]
Sets the string length to 120.
20 ASSIGN @File TO ”RES:INTERNAL”;FORMAT ON
Opens a path to the memory card file called “RES” (for results).
30 ON ERROR GOTO 80
Exits at end of file if an error is encountered.
40 LOOP
Extracts file contents.
50 ENTER @File;A$
Transfers part of the file to the string.
60 OUTPUT 9;A$
The string is output at the Serial port.
70 END LOOP
Goes back to get more of the file.
80 END
End of the program.
6. Press k1 (Run) to run the entered IBASIC program.