Com return values, Column.type, Name – Campbell Scientific LoggerNet Server SDK User Manual

Page 95: Description

Advertising
background image

Section 16. CsiBrokerMap Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Column.type

Name

Column.type As CsiDataTypeCode

Description

This read-only property identifies the type of data for the column.Following are
the possible values for this enumerated property:

Table of Data Type Enumeration

Name Value

Description

dt_CsiUInt1

1

1 byte unsigned int

dt_CsiUInt2

2

2 byte unsigned int

dt_CsiUInt4

3

4 byte unsigned int

dt_CsiInt1

4

1 byte signed int

dt_CsiInt2

5

2 byte signed int

dt_CsiInt4

6

4 byte signed int

dt_CsiInt8

32

8 byte signed integer

dt_CsiFs2

7

2 byte final storage (also known as FP2)

dt_CsiFs3

15

3 byte final storage (also known as FP3)

dt_CsiFs4

26

4 byte final storage

dt_CsiFsf

27

allows storage of either CsiFs2 or CsiFs4.
Requires 4 bytes

dt_CsiFp4

8

4 byte CSI float

dt_CsiIeee4

9

4 byte IEEE float

dt_CsiIeee8

18

8 byte IEEE float

dt_CsiBool

10

1 byte Boolean (0 or 1)

dt_CsiBool8

17

1 byte bit field

dt_CsiSec

12

4 byte sec since 1 Jan 1990

dt_CsiUSec

13

6 byte 10s of Usec since 1 Jan 1990

dt_CsiNSec

14

4 byte sec since 1 Jan 1990 + 4 byte Nsec

16-19

Advertising