User`s guide
The dataType is the size of the data block (the format of the data in memory), as shown in the following
table.
Available Datatypes
DataType Conversion performed
0 (zero) no conversion, data is same format as in the file
SHORT16 convert to 16-bit integer
LONG32 convert to 32-bit integer
FLOAT32 convert to 32-bit floating point
DOUBLE64 convert to 64-bit floating point
For example, suppose the data in your file is in integer format and you use SdfYdata with a dataType of
FLOAT32. In this case, SdfYdata converts the data from your file into 32-bit floating point and scales the
data based on the value of channelScale (in SDF_CHANNEL_HDR).
Note When the dataType specified is floating point (FLOAT32 or DOUBLE64), Y-axis data
is read with window-correction and engineering-unit factors applied, and it is written
back to the SDF file with these factors removed.
Using SDF Data with C Programs
SdfYdata
6-15