Table Of Contents

Data Type Reference

Last Modified: August 25, 2016

LabVIEW provides the following data types for controls and indicators, diagram terminals, wires, and node terminals.

Icon Data Type Details
Single-precision, floating-point numeric (SGL)

Minimum positive number: 1.40e-45

Maximum positive number: 3.40e+38

Minimum negative number: -3.40e+38

Maximum negative number: -1.40e-45

Double-precision, floating-point numeric (DBL)

Minimum positive number: 4.94e-324

Maximum positive number: 1.79e+308

Minimum negative number: -1.79e+308

Maximum negative number: -4.94e-324

Complex single-precision, floating-point numeric (CSG) Same as single-precision, floating-point, with a real and an imaginary part.
Complex double-precision, floating-point numeric (CDB) Same as double-precision, floating-point, with a real and an imaginary part.
8-bit signed integer numeric (I8)

A positive or negative integer stored using 8 bits, or a single byte.

Range: -128 to 127

16-bit signed integer numeric (I16)

A positive or negative integer stored using 16 bits, or two bytes.

Range: -32,768 to 32,767

32-bit signed integer numeric (I32)

A positive or negative integer stored using 32 bits, or four bytes.

Range: -2,147,483,648 to 2,147,483,647

64-bit signed integer numeric (I64)

A positive or negative integer stored using 64 bits, or eight bytes.

Approximate Range: -1e19 to 1e19

8-bit unsigned integer numeric (U8)

A positive integer stored using 8 bits, or a single byte.

Range: 0 to 255

16-bit unsigned integer numeric (U16)

A positive integer stored using 16 bits, or two bytes.

Range: 0 to 65,535

32-bit unsigned integer numeric (U32)

A positive integer stored using 32 bits, or four bytes.

Range: 0 to 4,294,967,295

64-bit unsigned integer numeric (U64)

A positive integer stored using 64 bits, or eight bytes.

Approximate Range: 0 to 2e19

fixed-point numeric (FXP) A signed or unsigned number configurable from 1 to 64 bits.
complex fixed-point numeric (CFX) A signed number configurable from 1 to 64 bits, with a real and imaginary part.
timestamp

A time and date.

Minimum time: 01/01/1600 00:00:00

UTC maximum time: 01/01/3001 00:00:00 UTC

enumerated type A list of items from which to select.
Boolean A TRUE/FALSE value.
string A series of text characters.
array

A collection of multiple pieces of data, each of which must be the same data type.

The array icon shows the data type of the array's elements in square brackets and takes the color of that data type. As you add dimensions to the array, the brackets become thicker.

cluster

A collection of multiple pieces of data, each of which can be a different data type.

Cluster data types appear brown if all elements in the cluster are numeric or pink if any elements in the cluster are of non-numeric types.

error cluster

A cluster of information that specifies error conditions returned by a node.

path

The location of a file or directory.

waveform

A cluster of information that specifies an array of data, the start time at which the data was collected, and the change in time between each measurement.

digital waveform

A cluster of information that specifies a digital table of data, the start time at which the data was collected, and the change in time between each measurement.

reference number (refnum)

A unique identifier for an object, such as a file or a task.

variant

A generic container for all other types of data.


Recently Viewed Topics