Using of Trends and Alarms with super genies

Hello colleagues!

I'm making my first project with Citect SCADA 8.10 and I faced some problems with alarm and trend representation on the super genie.

I have configurated Trend tag (LIT001_ENG_V). It is working fine, I can see the trend in default popup trend window, with genie SG1_PopTrend_Btn, etc when I address this tag directly by it's name. If I'm trying to adress it in super genie by metadata substitution (?TRN?) it is not working.

The same story with Alarm ack from the super genie. I have alarm tags, I see them in alarm list, I can ack them, etc.but metadata substitution is not working with AlarmAckTag() from super genie. 

There is something that I can't understand about the super genies. Why I can represent analog value or use toggle() on super genie with metadata substitution but can't use for instance AlarmAckTag(). What I should do to ack alarm and see trend from super genie?

Thank you and sorry for my English.

  • Check with particular metadata value also because when it requires literal string to be passed you have to put single quote, for ex. 'value'. In your case maybe '?TRN?'

  • I will explain what I've done with more details.

    For the genie I define substitution %TRANSMITTER%. All my tags starts from transmitter name (for the transmitters). In this example %TRANSMITTER% = LIT001. Trend tag for the eng value is LIT001_ENG_V. From genie to super genie I'm sending metadata substitution ?TRN? = %TRANSMITTER%_ENG_V.
    I made an experiment. On my super genie I put four graphic elements "trend" (the simplest one) with different configuration:
    In 1st case I define pen1 as ?TRN? - it is not working. trend is blank.
    In 2nd case I define pen1 as '?TRN?' - the same.
    In 3rd case I define pen1 as "?TRN?" - the same.
    In 4th case I define pen1 as LIT001_ENG_V - it is working. I can see the trend.

    Moreover, I'm trying to get the tag name associated with the pen1 of trend. By command DspText(AN1,-1,TrnGetPen(AN2,1)) and it is also not working on super genie. Even for 4th case, where pen1 is assigned directly to trend tag. I check 4th case on main display - everything is fine. I can get the name of trend tag be TrnGetPen(). On super genie I see nothing. TrnGetPen() do not use metadata substitution (only the animation name of the trend and the pen number) so I guess that problem is not only in the substitution.

    Maybe there is another way to work with trend tags on super genies?

    P.s. For the ack alarms I'm using now command ?ALARMTAG?.ACK = 1 from the super genie instead of AlarmAckTag(). AlarmArkTag() is still not working from my super genie.
  • I assume in genie touch command you used assmetadatapopup function or equivalent. In that can you tell me your list of metadata names and values?
  • I'm using function AssMetadataWin("Transmitter_detail01", 10, 10, 2) to call super genie. Two names are defined: TRANSMITTER = %Transmitter%, TRN = %Transmitter%_ENG_V.
    %Transmitter% is the name of transmitter (LIT001 in this case). TRN supposed to be used only for the trend. For all other animations TRANSMITTER is used. For ex. Toggle(?TRANSMITTER?.HH_EN) or AssGetProperty("?TRANSMITTER?.ENG_VAL", "Equipment")
  • Please ignore this if you have already tried. Please look into this snap in below link.

    https://ibb.co/zHLZT33
  • hey victor, can you share status of this query.