How to use Slave Monitor to disable Gauges & Charting.
-
Is there a easy way to disable Gauges & Charting with a Modbus Slave Monitor changes status in the Dashboard designer?
-
@ristola said in How to use Slave Monitor to disable Gauges & Charting.:
Is there a easy way to disable Gauges & Charting with a Modbus Slave Monitor changes status in the Dashboard designer?
The slave monitors are regular data points, you can get their value and use them however you please. What do you mean disable? Do you want to put an overlay on them, display a message, hide them altogether?
-
I am using the Slave Monitor for monitoring the communications.
Problem is when communication is lost, looking at the dashboard, it shows the last data values and doesn't get your attention the device is down.I know if you disable a data source you get the checkered pattern on the Page. like so.
So I was looking for a way to disable or hide or change state when it contains stale data due to loss of communications.
-
Hi ristola,
You can inspect those elements for the CSS class that is creating that checkered pattern, and then add that class to the attribute you'd like it displayed on via an ng-class attribute, like,
<div ng-class="{ 'point-disabled': slaveMonitor.value === false }"></div>