Category display in Alarm Format (Active Alarms)

Hi,

i wonder if anyone has managed to figure this out. we have a client that is requiring us to display the alarm categories in plain text. we setup labels as reference to the alarm cateogories.

so in the citect ini format section we specified the following format.

[Format]

Alarm={Date,80}{Time,80}{Tag,120}{Name,120}{Desc,120}{Category,50}{Area,10}{State,10}{UserLocation,50}{Equipment,80}

However the category is displayed as the number. how can we convert that to show the labels instead? is there some form of lookup we can do?

Would using the custom fields be the solution?

Parents
  • A trick used in many complex projects is to place the standard alarm list objects (the range of ANs that are used for the list) off screen and create a more graphically pleasing alarm list or banner that requests information of those ANs using an AlarmGetDsp() statement.
    You can then create your own function to convert the category number back into a text.
    For example: MyCatText(AlarmGetDsp(1000, "Category"))
Reply
  • A trick used in many complex projects is to place the standard alarm list objects (the range of ANs that are used for the list) off screen and create a more graphically pleasing alarm list or banner that requests information of those ANs using an AlarmGetDsp() statement.
    You can then create your own function to convert the category number back into a text.
    For example: MyCatText(AlarmGetDsp(1000, "Category"))
Children
No Data