User`s guide
SdfScanData
Syntax int SdfScanData (short fn, long offset, short varInx,
long pnts, short dataType, float far *s);
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 scan data from an open SDF file and puts it in an array, where s is the pointer to the
array, and fn is the number of the open SDF file (for details, see SdfOpen).
In the HP 3566A, 3567A and 35665A, map lines are stored as scan data blocks.
The varInx parameter selects the scan variable data that you want to read. The first variable (varInx equal
to zero) is actually scan data from the SDF_SCAN_STRUCT record in the SDF file. Most instruments
don’t have SDF_SCAN_VAR records, but do have the SDF_SCAN_STRUCT RECORD, so you will
usually specify 0 (zero) for this parameter. The HP 89410A and HP 89440A do use 3 addition scan
variable records for waterfall data, so you may specify a varInx from 0 to 3.
Using SDF Data with C Programs
SdfScanData
6-18