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:
- Create a New Solution using the HeaderLayout template.
- Start MQTT Simulator, at DatatExplorer
- Connect to MQTT Simulator, at DataExplorer
- Map tags from automatically for a dynamic reference, at TagProviders
- Create a screen with:
- Asset Tree
- Trend Chart
- Some Smart Symbols with #'s and visuals to see quantity and state
Bonus - Advanced Steps:
- Add a space for Smart Symbols (Depending on what's found in the asset tree)
- Add code to auto-create Smart Symbol layout
- Enjoy a Smart Solution with a Dynamic Display!
On this page:
Table of Contents | ||
---|---|---|
|
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:
Page Tree | ||||
---|---|---|---|---|
|