Hello.
I want to extract ONLY the Description of the last Active alarm, and put in a tag. This way I can set any font size on the dynamic alarm text.
I have tried making custom XML alarm settings, and I get the data I want.
<?xml version="1.0" encoding="ISO-8859-1"?>
<AlarmList>
<ColumnFormats>
<Format name="SinglePopupCustom">
<Column width="160">AlarmCellTimestamp</Column>
<Column width="30%">AlarmCellDescription</Column>
<Column width="90" extra="1">AlarmCellValue</Column>
<Column width="90" extra="1">AlarmCellSetpoint</Column>
<Column width="70" extra="1">AlarmCellUnits</Column>
</Format>
</ColumnFormats>
<ListFormats>
<Format name="PopupCustom" label="PopupBotngaard">
<list name="Active" label="PB_ActiveListLabel">
<Single>SinglePopupCustom</Single>
<Double>SinglePopupCustom</Double>
</list>
</Format>
</ListFormats>
</AlarmList>
But the look is not how I want it. And there is a problem with the changing background color of the alarms.
I only want the text, and maybe the date. But I can't figure out the location/addressing of the dynamic "last alarm tag".
Hello.
I want to extract ONLY the Description of the last Active alarm, and put in a tag. This way I can set any font size on the dynamic alarm text.
I have tried making custom XML alarm settings, and I get the data I want.
````
<?xml version="1.0" encoding="ISO-8859-1"?>
<AlarmList>
<ColumnFormats>
<Format name="SinglePopupCustom">
<Column width="160">AlarmCellTimestamp</Column>
<Column width="30%">AlarmCellDescription</Column>
<Column width="90" extra="1">AlarmCellValue</Column>
<Column width="90" extra="1">AlarmCellSetpoint</Column>
<Column width="70" extra="1">AlarmCellUnits</Column>
</Format>
</ColumnFormats>
<ListFormats>
<Format name="PopupCustom" label="PopupBotngaard">
<list name="Active" label="PB_ActiveListLabel">
<Single>SinglePopupCustom</Single>
<Double>SinglePopupCustom</Double>
</list>
</Format>
</ListFormats>
</AlarmList>
````
But the look is not how I want it. And there is a problem with the changing background color of the alarms.
![59ae929a83bc9.png](serve/attachment&path=59ae929a83bc9.png)
I only want the text, and maybe the date. But I can't figure out the location/addressing of the dynamic "last alarm tag".