[Back to Interface] [Prev] [Next]

DFSDsetNT/dssnt

intn DFSDsetNT(int32 data_type)

data_type IN:

Data type

Purpose

Sets the data type of the data to be written in the next write operation.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

DFSDsetNT must be called if a data type other than float32 is to be stored. DFSDsetNT and DFSDsetdims can be called in any order, but they should be called before any other DFSDset* functions and before DFSDputdata or DFSDadddata.

The following symbolic names can be used as the value of data_type:

32-bit float

DFNT_FLOAT32

5

64-bit float

DFNT_FLOAT64

6

8-bit signed int

DFNT_INT8

20

8-bit unsigned int

DFNT_UINT8

21

16-bit signed int

DFNT_INT16

22

16-bit unsigned int

DFNT_UINT16

23

32-bit signed int

DFNT_INT32

24

32-bit unsigned int

DFNT_UINT32

25

8-bit character

DFNT_CHAR8

4

FORTRAN

integer function dssnt(num_type)

integer num_type



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.