AlarmDspLast not showing anymore

Hello,

I have a project in CitectSCADA 7.40 using the AlarmDspLast function to display alarm messages.  It is programmed to show the last 6 messages, it was working fine until I aligned the six Cicode objects, since then it is not showing anything (sometimes a line shows but disappears easily).

Any suggestions to make the function AlarmDspLast work properly?  Am I using it properly with the Cicode objects?

Thanks.

  • Hi Hubert,
    What templates are you using?
    The older style CSV_Include (XP Style) templates had 3 lines for the last 3 alarms. If you modified this and increased to 6 lines, there are a few things you need to consider:
    - The AN definitions need to be sequential. E.g. from top to bottom.
    - The AN argument for AlarmDspLast should use the first AN of the cicode object which will contain the alarm line.
    I'd recommend looking at existing templates and how they have been implemented. You might need to increase the count to accomodate your larget list, from 3 to 6 for example.
    Hope this helps.
    Olivier
  • Hello Olivier,
    I am using the program that was already built with the machine we bought. The original version still works fine, the AN are sequential, in fact I did not touch the AN at all, just aligned them vertically! If I close Citect and restart it, the alarms shows then as soon as a new one comes in, they all disappear, at some other time, I can only see the most recent alarm if it is in red.
    I tried to recopy the AN from the original program, but it did not change the strange behavior.
  • Hi Hubert,
    This sounds like a difficult problem that likely won't be possible to resolve on this forum. I'd recommend reaching out to Citect Support and do a live screen sharing session to walk through the issue. The support engineer will be able to spot any anomalies and offer a solution.
    That version (v7.40) of Citect SCADA is in "Extended" support. This means there is limited bug fixing that will be available. It is probably a good idea to upgrade to a more recent version to get all the latest fixes, security patches and enhancements.
  • It is very well possible that your AN's are sequential in your template, but not in the actual page.
    You could check this by opening the page in Graphics Builder and clicking on one of the AN's at a time while holding CTRL.
  • It sounds like 2 different AlarmDsp or AlarmDspLast commands are writing to the same AN list and are conflicting with each other. Try using the Find tool. Go to the Graphics Builder | Edit menu | Find. Search for AlarmDsp