Global functions and variables
The package provides some selected global variables to detect the current runtime environment. For example, a control can and should do without communication with the server in the Designer.
|
Name |
Description |
|---|---|
TCHMI_ENGINEERING Available from version 1.12 | Is true if the framework has been loaded into the Designer or Live View instance. |
TCHMI_DESIGNER Available from version 1.12 | Is true if the framework has been loaded into the Designer instance. |
TCHMI_LIVEVIEW Available from version 1.12 | Is true if the framework has been loaded into Live View instance. |
TCHMI_RUNTIME Available from version 1.12 | Is true if the framework was loaded into the Runtime instance. |
TCHMI_CONSOLE_LOG_LEVEL Available from version 1.8 | See TcHmi.Log |
There are also some helper functions, which are explained on the subpages.