Visualization¶
The data visualization of the CMTK is based on Grafana. Grafana can be configured extensively, detailed information can be found in the Grafana documentation (available online).
Call visualization
The visualization panels are accessed via the rail on the left side.
First time visualization¶
For the first time to visualize the data or if there is no main dashboard configured, the system will prompt a dialog to configure the main dashboard.
Note
First set up all sensors and devices completely and correctly. Tools like the BCM Config Assistant helps with correct setup.
- Click "Generate" to create the first Record Dashboard with the available data in the database.
Types of visualization panels¶
There are two types of visualizations availables, "Record" data and "Live" data.
Record Data¶
This dashboard shows graphs of static data from the InfluxDb database. The query needs to be triggered manually every time to update the latest data from the configured time range.
Live Data¶
This dashboard shows graphs that obtain the data from the mqtt datasource in the logging interval set in "Connected Devices".
Note
Please note that the time of the CMTK must be synchronised with the PC time, otherwise no data will be displayed.
Switch between visualization panels¶
In the top menu of the visualization page there is a toggle button Switch to live view.
When is not toggled, the Record dashboard is displayed, if is toggled the Live dashboard is displayed
Open dashboard in new tab¶
To open the dashboard in a new tab, click in the marked button
Record dashboard¶
The Record dashboard shows all the graphs that take the information from the internal InfluxDB database. When the dashboard is created the CMTK generates two graphs for every signal with float or integer values configured in the CMTK.
Trigger a query¶
In the Record dashboard is necessary to trigger a query manually to obtain the required set of data to visualize.
- Click in the Time Range Menu
- Configure the requried time range. Can be manually selected or can be choosed from the quick ranges
- After apply the selected range or select a quick range, the widgets will be refreshed with the requried information
- The button refresh, will refresh the information in the widgets with the selected time range
Reinitialize dashboard¶
The reinitialization process will create an entire new Record dashboard using the current configured signals of the connected sensors
- Click on the Reinitialize button
- Click on confirm
- A new dashboard will be generated
Widget configuration¶
- Panel title can be customized
- Open panel setting and click on edit menu
- On Panel options, in the Title field a new name for the signal can be configured
- Click save and apply
- Scale and name axes
- Open panel setting and click on edit menu
- On Axis, can configure Soft min for min value and Soft max for max value
- Click save and apply
- Open panel setting and click on edit menu
Visualize data from the IO-Link master¶
- After configuring the IO-Link master, reinitialize the dasboard.
This will generate the dashboard for the IO-Link master - In the Dashboards widget will appear the Master 2 dashboard
- Click on Master 2 to open the IO-Link master Dashboard
- Click on Master 1 to return to main dashobard
Live dashboard¶
The Live dashboard shows all the graphs that take the information from the MQTT communication.
Each graph is added manually.
Add new source for live data¶
- Clik on Add source for live data
- Configure:
- Data source
- Port
- Value. Select the measurements.
- Can enable the boolean values (optional)
- Click Add to dashboard
- The new graph will apear in the live dashboard.
Alerts¶
For detailed configuration instructions, have a look at the Alerts manual.