Ask our Experts
Didn't find what you are looking for? Ask our experts!
Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-05 10:13 AM . Last Modified: 2024-11-05 10:16 AM
Hello,
I am new to AVEVA Plant Scada and am trying to figure out how to build a partial association that sends a string to a global popup that will eventually be used for all pieces of equipment that are the same equipment type. I have followed many tutorials to try and create this association that comes from a genie to a super genie or popup, but all have failed with the #ASC error when trying to display the string in a text box. Currently, my computer is setup as just the development workstation with no externally connected components and is running AVEVA Plant Scada Studio 2023 R2.
I have had success opening a super genie and a popup page using the following lines of code in the "up" functions within the "input" tab of the genie:
NOTE: The community will not let me post the associations functions' names so read A.s.s. without the periods.
Cicode 1:
A.s.s.(-2, "TagName", "String being sent", 0);
WinNewAt("PopUpName",100,100,1+8+512);
Cicode 2:
A.s.s.PopUp("SuperGenieName", "String being sent");
After executing this genie with these lines of Cicode, the popup comes up and shows the #ASC error in the text field for where the association is being called. The code I have used under the Appearance > Display > String Cicode box in the test display of the super genie/popup is shown below. Each one corresponding to the code snippets shown above for how the popup was called.
Cicode 1:
?TagName?
Cicode 2:
?1?
I also remembered to attach the super genie to the genie before pasting the genie onto the home page. I am sure there is something simple I am missing here, so if there is anymore information needed please let me know and I will try to be quick to respond with it. If you know a comprehensive step by step tutorial for this as well that goes deeper than the steps I have provided from what I have learned along the way I would much appreciate seeing that as well. I am currently going off of AVEVA's 2018 Module 10 Popup Pages tutorial.
Thank you for your help in advance.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-17 08:34 PM
Hi @integrator98,
Apologies for the delay in responding to your post. I must admit, Super Genies are not in my strong suit. I usually rely on previous examples or documentation when I need to implement Super Genies in a project.
It would also be easiest to debug this live with you, so could I suggest engaging an AVEVA Support Engineer?
Some other resources that could help...
Super Genie documentation:
https://docs.aveva.com/bundle/plant-scada/page/1172236.html
This YT video walks through Genie and Super Genie example for a simple pump:
https://www.youtube.com/watch?v=avgNthyK9dg
You might also look at the Example project (Utilities page?) but I think it isn't activelyy used anymore, but you might see some genie and super genies still defined.
Hope this information helps.
Kind regards
Olivier
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.