Hi Dojo,
I'd like to alarm in the scenario of "Not Initialized" populating in a table. I understand that this is not possible with Alarm Templates. Some suggestions I have seen on here is to instead add an Exception to the Param. However I don't quite understand how to do this as I don't know what to set the 'value' to. Is anyone please able to advise?
Example:
<Exceptions>
<Exception id="1" value="-1">
<Display state="disabled">Not Found</Display>
<Value>-1</Value>
</Exception>
</Exceptions>
Thanks!
Carys
Hi Carys,
If I am not mistaken the idea is to have a default value in the parameter that can be used as exception value (instead of 'Not initialized').
For example, let's say you have a parameter 'A' that is currently being updated/populated based on data that a DMA retrieves from the monitored device. The value of this parameter will be 'Not Initialized' if the DMA is not able to get data related to that specific parameter.
The proposal will be to create a new parameter, let's say parameter 'B', that will be contain the same information as parameter 'A'. The difference is that this new parameter will be a custom one. This means that you can initialize parameter 'B' with a default value, for example '-1'. As long as the original parameter 'A' is not initialized, parameter 'B' will be set to '-1'.
When adding parameter 'B', you will probably need to hide parameter 'A'.
Hope it helps.