Genie Dynamic STRING Tag not working

Hi, 

I'm using AVEVA Plant SCADA 2023 R2 v8.50.

I have button that calls a AssTag Function STRING parameter (Ramal). I'm trying to use it as a suffix to call variables from Equipments. This button also displays a PopUp Window:

This popup windows calls another genie that I want to dynamically set variables using this STRING parameter (Ramal). This is not working, but, I have used a text box to call this string (=S420_?string 67?), and as you can see it works. 

The problem is, it works using it on a text box but it doesn't work when I try to use it in a genie parameter setting. The latter printscreen shows this.

From left to right:

1. PopUp Windows fetching ?string 67? correctly on text boxes (even concatenating with S420_) 

2. Genie calling Equipment and Tags directly (Working as intended).

3. Genie inside Popup Windows calling Equipment and Tags with association (not working).

PS: Only "Equipment", "EquipmentSecondary", "PassTag1" and "PassTag2" are not working. "TAG" parameter is WORKING and is passing INT variables to the genie numerical text boxes.

Parents Reply
  • Hi Olivier, I've looked at the posts that you've sent me and I'd like to thank you for the response.

    Unfortunately I did not have any positive conclusions in trying out the methods that were discussed. What I'm doing right now is using the method Michael suggested in an answer to the "Function inside a super genie (Pop-up)" post:

    "

    I think you missed that you must use the number you used in your cicode function ** Ass(-2,100,"'"+Drawing+"'",0

    Use ?String 100? on your supergenie command to be able to get the dynamic  text to open your pdf file..

    It looks like you trying to use the text from your genie..

    Use this command from your supergeni/systempage to get it to work :

    ExecEx("C:\Users\Public\Documents\"+?STRING 100?+".PDF")

    Hope this will help you..

    //Michael

    "

    Although I'm not using "ExecEx", I'm employing the same method using ?STRING 67?

    My question is precisely as to why this is not working and trying to find out where the problem is in the "call tree".

Children