User`s guide

SdfDataHdr
Syntax int SdfDataHdr (short fn, short dataNo ,
struct SDF_DATA_HDR far *dataHdr);
Returns an integer(short) of zero or minus one. A return of 0 indicates no error; a return of
-1 indicates an error.
This function reads the data-header information from an open SDF file, where fn is the number of the
open SDF file (for details, see SdfOpen). The information is put in the SDF_DATA_HDR structure,
where dataHdr is the pointer to the structure.
Note The dataNo parameter selects the data result that you want to examine. Most
instruments have only 1 data result, therefore, you will usually specify 0 (zero) for this
parameter, which selects the first data result.
The SDF data header record contains information for a specific measurement data type. It contains the
index to the first vector header record as well as the total number of rows and columns (vectors)
associated with it. It also contains fields describing the data type, number of points per trace, X-axis
spacing information, Y-axis data format. There is one data header record for every measurement result
type in the SDF file.
Using SDF Data with C Programs
SdfDataHdr
6-7