You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

Introduction 

This Tutorial will introduce the concept of TagProvider, which allows tagless connections with external and dynamics data sources. 

In this application, we will connect to a MQTT Broker and create an example of Seft-Aware-SCADA, or DynamicDisplays, which are adaptive the the data source, meaning the exactly same display will show data from different assets based on the selected asset from the remote source. 

Configuration Outline

Basic Outline:

  1. Create a New Solution using the HeaderLayout template.
  2. Start MQTT Simulator, at DatatExplorer
  3. Connect to MQTT Simulator, at DataExplorer
  4. Map tags from  automatically for a dynamic reference, at TagProviders
  5. Create a screen with:
    1. Asset Tree
    2. Trend Chart
    3. Some Smart Symbols with #'s and visuals to see quantity and state

Bonus - Advanced Steps:

  1. Add a space for Smart Symbols (Depending on what's found in the asset tree)
  2. Add code to auto-create Smart Symbol layout
  3. Enjoy a Smart Solution with a Dynamic Display!

On this page:



Using the Data Explorer MQTT Tools

Go to Data Explorer → MQTT Tools to start. You can connect to your own broker, if you wish, but our system has a native SpartkplugB MQTT Built-In Broker that you can use.

Out platform also offers a MQTT Publisher Simulator, that has customizable data being published. Simply click both of the green "start" buttons to start the Broker and Simulator.

Once you've done so, click Connect to see and browse the generated data.

 


TagProvider connection with MQTT Broker



New Display With AssetTree and Symbols


Mapping Trend Pens and DataGrid


Running the Solution


Advanced Bonus: Seff-aware Dynamic Pages

Using the Library to Crete new Displays

Creating a New Layout

Allowing New Layouts

Running and customizing the updated Solution 


In this section:

The root page @parent could not be found in space v10.


  • No labels