Admin Production ni-theme
Current Publication

ATTR_DATA_TYPE

LabWindows/CVI

ATTR_DATA_TYPE (Control)

Type: Control attribute
Description: The data type of the control. When used on a table, it refers to the default state of new cells when ATTR_TABLE_MODE is set to VAL_GRID.



Note: When you enter a number in scientific notation into numeric controls of type int64 or unsigned int64, LabWindows/CVI converts the number to a double and then to a 64-bit integer. This conversion may cause a loss of precision after 15 decimal digits.
Control Types: Binary switches, list boxes, numerics, picture rings, rings, numeric slides, ring slides, tables, trees.
Data Type: integer
Default Value: VAL_DOUBLE (numerics/tables), VAL_INTEGER (binary switches/rings/list boxes/trees)
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later

Values

VAL_64BIT_INTEGER An 8 byte integer.
VAL_UNSIGNED_64BIT_INTEGER An unsigned 8 byte integer.
VAL_CHAR A single byte character.
VAL_INTEGER A 4 byte integer.
VAL_SHORT_INTEGER A 2 byte integer.
VAL_FLOAT A 4 byte floating point value.
VAL_DOUBLE An 8 byte floating point value.
VAL_STRING A character array. Not valid for numeric, graph, or table controls.
VAL_UNSIGNED_CHAR An unsigned single byte character.
VAL_UNSIGNED_SHORT_INTEGER An unsigned 2 byte integer.
VAL_UNSIGNED_INTEGER An unsigned 4 byte integer.
VAL_SIZE_T An unsigned 4 byte integer (32-bit applications).

An unsigned 8 byte integer (64-bit applications).
VAL_SSIZE_T A 4 byte integer (32-bit applications).

An 8 byte integer (64-bit applications).
VAL_PTRDIFF_T A 4 byte integer (32-bit applications).

An 8 byte integer (64-bit applications).
VAL_UINTPTR_T An unsigned 4 byte integer (32-bit applications).

An unsigned 8 byte integer (64-bit applications).
VAL_INTPTR_T A 4 byte integer (32-bit applications).

An 8 byte integer (64-bit applications).