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!
AVEVA Plant SCADA Forum
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.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-07-14 09:25 PM
Hello!
I'm tying to trigger a pop up on a bit status and having some issue with it.
Here's the cicode I'm using.
FUNCTION PopOnTag1()
REAL status;
status = TagRead("tag_1", 0, "Cluster1");
IF status = 1.0 THEN
AssPopUp("!ack", "tag_1", "'RO1 Pressure High'");
END
END
When i call the !ack super genie through a button press, it works. so I'm sure my super genie is working.
I tried to set up the above mentioned code in a cicode object in graphic builder but the pop up wont trigger on bit status. where am i going wrong, please help.
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: 2025-07-15 05:37 PM
Hi @AutomationGenie,
Do you want the popup to work on any page or just a specific page? Since the cicode object on the page, means you would need to place that on all your pages.
I can see why the cicode object approach isn't working, since it is on a page (known as foreground cicode) and TagRead is a blocking function, which won't work on foreground cicode.
Could you try modify your function, by trying:
status = Cluster1.Tag_1;
You could also try use the TagGetValue function if the above does not work:
status = TagGetValue("Cluster1.Tag_1");
An alternative approach, to the one above, which wouldn't require a specific cicode object to execute on each page, would be to define an Event, that runs on the client process.
You could call it "GLOBAL", then it will run on all Client processes in your system. If you only want it to run on specific machines (not all) then give it a unique name, then add the citect.ini setting [CLIENT]Events="YourEventName" to enable it on the machine you want.
See the help for more details: https://docs.aveva.com/bundle/plant-scada/page/1095492.html
Kind regards
Olivier
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: 2025-07-15 05:37 PM
Hi @AutomationGenie,
Do you want the popup to work on any page or just a specific page? Since the cicode object on the page, means you would need to place that on all your pages.
I can see why the cicode object approach isn't working, since it is on a page (known as foreground cicode) and TagRead is a blocking function, which won't work on foreground cicode.
Could you try modify your function, by trying:
status = Cluster1.Tag_1;
You could also try use the TagGetValue function if the above does not work:
status = TagGetValue("Cluster1.Tag_1");
An alternative approach, to the one above, which wouldn't require a specific cicode object to execute on each page, would be to define an Event, that runs on the client process.
You could call it "GLOBAL", then it will run on all Client processes in your system. If you only want it to run on specific machines (not all) then give it a unique name, then add the citect.ini setting [CLIENT]Events="YourEventName" to enable it on the machine you want.
See the help for more details: https://docs.aveva.com/bundle/plant-scada/page/1095492.html
Kind regards
Olivier
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: 2025-07-16 09:39 PM
Hi Oliver!
First of all, thanks for your reply.
and it worked, I had to make some changes in citect.ini file like server was set to 0 and event name wasn't present in that file. i also had to login trough a user to make that event trigger. All in all I thank you a lot for the help.
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: 2025-07-17 03:07 PM
Link copied. Please paste this link to share this article on your social media post.
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.
Welcome to your new personalized space.
of