Alarm Custom1 property string data fails to display on graphics page.

Hello.

In my project I want some static alarm property information to be displayed on graphics pages.
Our static information is written as strings in the alarms table fields "Alarm Desc" and "Comment" properties.
Displaying the information in the "Alarm Desc" property performs well using a string expression like "AlarmTag.Desc" on the graphics page.

For some reason, displaying the string value in the property "Comment" by putting the string expression "AlarmTag.Comment" on the graphics page fails. The error message "Some variable tags were not found" shows up. Seems that the "Comment" property is not supported for access on the graphics page.

So in order to display the information in the "Comment" field on a graphics page I tried to copy the string in this field into the "Custom1" field and put the string expression "AlarmTag.Custom1" on my graphics page but nothing appears on the graphics page at runtime. Neither information or error code, simply nothing.

Can somebody enlighten this issue?

Parents
  • Hei
    Thank you Richard for testing, I also found the information on which properties can be referenced in the help file, leading to try the Custom1 field approach.
    The reason to display this static information is to have some information on the alarm actions on a popup we have made for setting the corresponding alarm limits. It would have been nice to display the same information on these popups as shown in the different included alarm table views without having to copy the information between the different fields/properties.

    I have another question related to the same issue.
    When displaying the string "AlarmTag.Desc" on the graphics page it is a lot of options for formatting the text but I can't find a way to break a long text into several lines. I am looking for the possibility to define a field with fixed width and then "word wrap" the string inside this field.
    The only tool I find that can help is to manually insert a lineshift ^n in the string, but this will not look very nice when output on the standard included alarm views.
Reply
  • Hei
    Thank you Richard for testing, I also found the information on which properties can be referenced in the help file, leading to try the Custom1 field approach.
    The reason to display this static information is to have some information on the alarm actions on a popup we have made for setting the corresponding alarm limits. It would have been nice to display the same information on these popups as shown in the different included alarm table views without having to copy the information between the different fields/properties.

    I have another question related to the same issue.
    When displaying the string "AlarmTag.Desc" on the graphics page it is a lot of options for formatting the text but I can't find a way to break a long text into several lines. I am looking for the possibility to define a field with fixed width and then "word wrap" the string inside this field.
    The only tool I find that can help is to manually insert a lineshift ^n in the string, but this will not look very nice when output on the standard included alarm views.
Children
No Data