unHMI  1.1.4
unHMI.pnl File Reference

The startup panel for the unHMI. More...

Detailed Description

The startup panel for the unHMI.

The panel displays a startup banner and it is responsible for the initialization of UNICOS, including the parsing of dollar parameters, adding/initializing the necessary global variables, and calling initalization functions of the UNICOS core. Finally it brings up the main application window, unHMI_mainUnicosPanel.pnl in a new module.

Dollar parameters:

The panel accepts a number of dollar parameters allowing to control the options of the HMI window.

Parameters for application filtering

  • $sApplicationList : semicolon-separated list of frontend applications to be available for selection.
  • $sDefaultApplication : the default frontend application to be used at the startup.
  • $sFilterName

Note that all three of the above parameters need to be specified to be effective. The parameters are passed to the unApplicationFilter_initFilterData function. The value of $sFilterName is also used by the screen layout facilities to limit the layouts available for selection to those specifed by the parameter (it stores it in the g_unicosHMI_sApplicationFilterName variable and also initializes the UnHMI_ScreenLayoutHelper::UnHMI_ScreenLayout_FILTER_PREFIX to have it as a prefix, e.g. "MyFrontendApp1/").

Parameters to specify the startup panel

  • $startPanel : the path to the startup panel.
  • Other dollar parameters: if $startPanel is defined, then all other dollar parameters will be gathered into the g_unicosHMI_DollarParam global variable and passed to the specified start-panel.