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
...
rc := guiOpen();
...
END;
END_PROGRAM;
|