EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Posted: 2021-06-01 07:12 AM . Last Modified: 2023-05-03 12:03 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-01 07:12 AM . Last Modified: 2023-05-03 12:03 AM
I picked script action for the button on main mimic to open inset mimic:
Public Function goToFlowMeter
TopMimic.OpenInset "SCX:////CMimic/.insetMimic", 10, 10, 30, 25
End Function
It works, inset mimic opens this way
BUT There is some problem if I click the button again, I get this inset mimic again over the rest mimics. I don't want to open another same mimic if it was already opened.
Is there some way to solve this problem without extra mimics?
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: 2021-06-02 05:23 PM
One reason for this behaviour is that you can open a single mimic multiple times but with different inputs, and that would be valid such as for faceplates. Blocking it in the core or working out if its a duplicate or not could cause more problems then it solves.
As for trying to detect it, as there is no OnClose script there's not much you can do in regard to a basic semaphore, as there would be no reliable way to remove the flag and so the next time the mimic loads and checks, it will think its already open. You could have a close button on the mimic that could clear the flag but if someone just hit the X then a problem.
I don't have a solution that will help unfortunately.
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: 2021-06-02 05:23 PM
One reason for this behaviour is that you can open a single mimic multiple times but with different inputs, and that would be valid such as for faceplates. Blocking it in the core or working out if its a duplicate or not could cause more problems then it solves.
As for trying to detect it, as there is no OnClose script there's not much you can do in regard to a basic semaphore, as there would be no reliable way to remove the flag and so the next time the mimic loads and checks, it will think its already open. You could have a close button on the mimic that could clear the flag but if someone just hit the X then a problem.
I don't have a solution that will help unfortunately.
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: 2021-06-02 11:59 PM
It helped me to stop trying. 😄
Thank you.
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.