Data types

TwinCAT data type

Memory requirement

LabVIEW™ data type

BIT

1 bit

LabVIEW™ Boolean

BOOL

8 bits

LabVIEW™ Boolean

BYTE/USINT

8 bits

LabVIEW™ U8

WORD/UINT

16 bits

LabVIEW™ U16

DWORD/UDINT

32 bits

LabVIEW™ U32

ULINT

64 bits

LabVIEW™ U64

SINT

8 bits

LabVIEW™ I8

INT

16 bits

LabVIEW™ I16

DINT

32 bits

LabVIEW™ I32

LINT

64 bits

LabVIEW™ I64

REAL

32 bits

LabVIEW™ Single (sgl)

LREAL

64 bits

LabVIEW™ Double (dbl)

String

-

LabVIEW™ String

TIME

-

LabVIEW™ Timestamp

DATE

-

LabVIEW™ Timestamp

TOD/ TIME_OF_DAY

-

LabVIEW™ Timestamp

DT/DATE_AND_TIME

-

LabVIEW™ Timestamp

DCTIME

-

LabVIEW™ Timestamp

FILETIME

-

LabVIEW™ Timestamp

LTIME

-

LabVIEW™ Timestamp

ARRAY

-

LabVIEW™ ARRAY

STRUCT

-

LabVIEW™ Cluster

Enum

16 bits (Default)

LabVIEW™ Enum

Display of timestamps in UTC time format

TwinCAT and LabVIEW™ generally measure time in Coordinated Universal Time (UTC). As soon as a timestamp is displayed in the LabVIEW™ front panels, it is converted to the local time by default.

If you want to display the Coordinated Universal Time (UTC) instead of the local time, you can format it as follows via the control settings:
1. Open Time Stamp Properties.
2. Open the Display Format tab.
3. Activate Advanced editing mode.
4. To use the UTC time format, insert a ^ in the default format string before the time container.
The format string then looks like this, for example:
%^<%X
%x>T
Data types 1: