Skip to content

FactoryTalk-Optix/Optix_Sample_WebPresentationEngineSessions

Repository files navigation

WPE Sessions Demo

This simple demo application showcases various ways to use the Web Presentation Engine within an application.

The application is ready to use - just run it.
The web client will be available on port 80 (HTTP).


What you can demonstrate using this example:

  1. Checkbox “Identical Sessions” checked:
    The Native Presentation Session and the Web Presentation Session are identical.

  2. Checkbox “Identical Sessions” unchecked: The Native Presentation Session and the Web Presentation Session differ - allowing you to provide dedicated content for web clients.


When the “Identical Sessions” checkbox is unchecked, additional options become available:

  1. Checkbox “Mobile Sessions” checked:
    Open the application in a web browser and resize the browser window - the content will automatically switch to the mobile layout.

  2. Checkbox “Unique Web Sessions” checked: Each defined web client receives unique content. The client is identified by its IP address.

    Click the magnifier icon (🔍) once - a configuration window will open.
    In this window, click the magnifier icon again to automatically detect and add the IP addresses of all currently open client sessions.
    (Tip: to configure the demo easily, first open client sessions in browsers, then click the magnifier icons to detect them automatically.
    Up to 3 clients are supported in this demo.)

  3. Option “Using dedicated link”: Open a browser and navigate to:
    http://<OptixRuntimeHost>/windows/Dashboard
    This link provides dedicated web content that is automatically available under this address.


Interface Overview

The interface is intentionally simple and includes a large label showing the session name and its description.

Importantly, no scripts are used in the configuration of this demo application - the only script included is responsible for automatically detecting client IP addresses, which is not the focus of this presentation.


Developed and tested on: Optix 1.6.2.36


Disclaimer

Rockwell Automation maintains these repositories as a convenience to you and other users. Although Rockwell Automation reserves the right at any time and for any reason to refuse access to edit or remove content from this Repository, you acknowledge and agree to accept sole responsibility and liability for any Repository content posted, transmitted, downloaded, or used by you. Rockwell Automation has no obligation to monitor or update Repository content

The examples provided are to be used as a reference for building your application and should not be used in production as-is. It is recommended to adapt the example for the purpose, of observing the highest safety standards.

About

Automation Fair 2025 lab about different Presentation Engines of Optix

Resources

License

Stars

Watchers

Forks

Languages