Entering data types

For the convert, import, and state chart blocks, you can use these built-in data types.

Date type

Description

char

8-bit character

unsigned char

8-bit unsigned character

short

16-bit signed integer

unsigned short

16-bit unsigned integer

int

32-bit signed integer

long

32-bit signed integer

unsigned long

32-bit unsigned integer

float

Single-precision floating point

double

Double-precision floating point

Scaled int

Scaled integer with fractional bits

String

Text string

COMPLEX

Complex number

trigger

Special data type for state chart triggers; see Using SentT() function to activate triggers

state ID

Integer whose value is equal to Embed-internal identifier of the active state; for more information, see Setting up state ID data type