boardType (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Firmware version:

1.00 / 1.00.00


boardType returns the type of RTCU device.

 

Input:

None

 

Returns: INT

Type of device the program is executing on:

102:

RTCU MX2/MX2i.

103:

RTCU DX4i mk2.

104:

RTCU DX4/DX4i.

105:

RTCU CX1/CX1i/CX1 mk2.

106:

RTCU SX1.

109:

RTCU AX9/AX9i.

122:

RTCU MX2 turbo / MX2 encore / MX2 warp.

129:

RTCU AX9 turbo / AX9 encore.

192:

RTCU MX2 SOM module.

202:

RTCU NX-200.

204:

RTCU NX-400.

209:

RTCU NX-900 / NX-910.

302:

RTCU LX2 series.

304:

RTCU LX4 series.

305:

RTCU LX5 series.

309

RTCU LX9 pro.

319

RTCU LX9 eco.

 

 

 

Declaration:

FUNCTION boardType : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
   ...
   // Set the current write position to 1,2 (leftmost, second row)
   displayXY(:= 1, y := 2);
   // Print the type of board at the current write position
   displayNumber(number := boardType());
   ...
END;
 
END_PROGRAM;