
(5) Display and read commands
The application program displays to the VGA window. It also receives
operator's commands. To receive commands, use the following method;
(because the application can't read MDI keys.)
Input signal from PMC. (using "pmc_rdpmcrng()" function)
Status of touch-panel (using "aux_tpl_read()" function)
Notification of the other tasks (notify via DRAM/SRAM common
variables)
(6) If display end
The application program detects the trigger to close the VGA window.
It checks informations as same as "(3) Wait the trigger to display".
(7) Close VGA window
The application program closes the VGA window using "vwin_close()"
function.
It is possible to always open VGA windows on the screen rather than the app-
lication program opens them on demands. Also it is possible to open the
invisible VGA window.
5.7.4 Available functions for the window task
The following functions are available for the window task.
(1) ANSI C Standard library
All functions which are available for the main task are available.
(2) MS-C extended C standard library
All functions which are available for the main task are available.
(3) Graphic library
All functions which are available for the main task are available.
The target screen to display is not the ordinary screen but VGA window.
(4) CNC/PMC window library
All functions which are available for the main task are available.
Some functions require exclusive control between the other tasks.
(5) MDI operation library
Unavailable.
(6) CRT operation library
All functions which are available for the main task are available.
The target screen to display is not the ordinary screen but VGA
window.
(7) File operation library
Unavailable.
(8) Serial library
Unavailable.
(9) Task management library
Available except "os_strt_wtsk()". But it is ineffective to send/
receive events with the other tasks.