User`s guide

6
Using SDF Data with C Programs
SDF Library Functions
This chapter provides information on the SDF library functions. These functions are located in
\SDFLIB\SDFUTIL.LIB. The SDF library functions are written on a much higher level to help you more
easily get at the data that you need.
When using these functions, include these include files (located in \SDFLIB) in your C programs:
SDF_COMM.H
SDF_BASI.H
SDF_UTIL.H
There are three C example programs (located in \SDFLIB) that show you how to use the SDF Library
functions:
SDF.C Prints the headers of an SDF file.
SDFDATA.C Prints all the data (applying corrections) in an SDF file.
SDFMPY.C Multiplies first data result in the SDF file by the factor specified. This program
demonstrates reading and writing data to an SDF file.
Caution SDFMPY.C changes data in the selected SDF file. Make a backup copy of your SDF
file if you want to preserve its contents.
6-1