Extensions.HMI.OpenScreen
Jump to navigation
Jump to search
Classification
Name | OpenScreen |
Short Description | Creates and displays a custom screen during the term |
Class | Action |
Extension | OTX HMI extension |
Group | Custom screen related actions |
Exceptions | ScreenException |
Checker Rules | Core_Chk053 HMI_Chk002 HMI_Chk003 HMI_Chk004 HMI_Chk005 |
Standard Compliant | Yes |
OTL Syntax
Hmi.OpenScreen(Screen, ScreenArguments, ScreenHandle);
Description
The OpenScreen creates activity and shows a custom screen during the term. The screen will be displayed immediately and can accept user input. When other screens are already open when the new screen opens, to ensure the application that the new screen from other screens hidden.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Screen | Screen | - | - | [1] | This attribute contains a name which points to a ScreenSignature which contains a parameter description for the screen that shall be opened. |
ArgumentsList | ScreenArguments | - | - | [0..*] | This simple container element represents a list of arguments for an open screen call. |
Modal | Boolean | Value | false | - | This option tells the runtime system to make this screen modal or non-modal. |
ScreenHandle | Screen | Variable | - | [0..1] | This optional element represents the variable which shall be the handle for the opened screen. |
OTL Examples
package Hmi.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);
public procedure main()
{
Hmi.Screen ScreenHandle1;
Integer ScreenInOut1;
Hmi.OpenScreen(ScreenSignature1, false, {ref ScreenInOutParameter1 = ScreenInOut1}, ScreenHandle1);
}