Web presentation engine¶
Applications
This Presentation engine is used for both typical HMI applications to run on targets with an operator panel and for blind devices, when we want to make available a web user interface to which multiple users can be connected from different web browsers. In a project there can only be one of them.
When a client connects to the web server, the object generates an interactive session (see Sessions and locale) for the authenticated user. The same user can access the project from multiple devices, and for each the object generates an additional interactive session. In every session the initial window set is created.
Use the object at runtime
Display the user interface from the browser
With the application running, navigate to the address listed in the Endpoint URL property.
Display a specific window using shortcut
To directly display a specific window among those available in the project (Window objects children of the UI folder), add the path /windows/ followed by the BrowseName of the desired window to the URL (e.g.: localhost:8843/windows/Window02).
Tip
this shortcut is particularly useful in a scenario where multiple clients connect to the same web server to display a different window to each of them.
Properties¶
Name |
BrowseName |
DataType |
Description |
---|---|---|---|
Dynamic variables polling time | DynamicVariablesPollingTime |
Time interval for the periodic reading of the dynamic link source field variables. |
|
Protocol | Protocol |
||
IP address | IPAddress |
||
Port | Port |
||
Hostname | Hostname |
||
Maximum number of connections | MaxNumberOfConnections |
Maximum number of clients that can connect to the web server |
|
Start window | StartWindow |
Type of start Window object to create at the start of the session.
(Inherited from Presentation engine)
|
|
Style sheet | StyleSheet |
Set the styles of graphical objects, either globally or for specific object classes.
(Inherited from Presentation engine)
|
|
Enable virtual keyboard | EnableVirtualKeyboard |
Enable/disable the virtual keyboard.
(Inherited from Presentation engine)
|
|
Starting user | StartingUser |
The starting user with which to authenticate the session.
(Inherited from Presentation engine)
|
|
Session | Session |
(Inherited from Presentation engine) |
|
Sessions |
Collection of UISession |
(Inherited from Presentation engine) |