guiOpen (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-400

Firmware version:

1.00.00


This function opens the GUI API.

 

Input:

None.

 

Returns: INT

0

- The GUI API is now open.

-1

- The Display API is active. The Display API and the GUI API can not be active at the same time. To disable the Display API, use displayStop or toggle DisplayPower OFF and ON again.

-11

- Not supported.

 

Declaration:

FUNCTION guiOpen : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc : INT;
END_VAR;
 
BEGIN
  ...
  // Opens the GUI API
  rc := guiOpen();
  ...
END;
END_PROGRAM;