HP 82479A Owner's Manual page 215

Data acquisition pac
Table of Contents

Advertisement

HPAF FILE STANDARD
The Applications File Format (HPAF) is intended to allow exchange of data between various programs.
The HP-71 Data Acquisition Pac reads and writes files that correspond to this format. Several existing
software packages use this format, such as the HP-71 Data Management Pac, the HPAF File Utilities Pac,
the AMPI Statistics Pac, and the HP-71 Curve Fitting Pac.
The format provides room for the data and
information that describes the structure of the data, so that various programs may make use of and
exchange the data.
HPAFfiles are of type [IHTH, and may be stored in either the HP-71 or a mass storage device, such as the
HP 82161A Digital Cassette Drive or the HP 9114A Disc Drive.
The HPAF files are composed of three major sections: a header, the data records, and an optional
descriptor block. An example of a file with three fields (two numbers and a string) looks like this:
Rec #
Contents
Description
0
"HPAFNNS"
There are two numbers and one string
in each data record.
1
4
There are four data records.
2
12
The descriptor block starts at 12.
3
13,611.44," "CLUTCH"
First data record
4
10,2.77," "FUSE KIT"
5
21,3.99, "LUBRICANT"
6
42.22.81," "TONER"
.o
More data records
12
"FIELDS",3, "NUMBER",
The descriptor block contains the
"PRICE", "NAME",
names and lengths of the fields.
"LENGTHS",3,"8","8",
" 1 5"
The following sections describe the header, the data records, and the descriptor block.

Advertisement

Table of Contents
loading

Table of Contents