Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84422members
353607posts

opening inset mimic

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
andreassh
Crewman
Crewman
0 Likes
2
610

opening inset mimic

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?


Accepted Solutions
AdamWoodland
Commander Commander
Commander

Re: opening inset mimic

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.

 

 

 

See Answer In Context

2 Replies 2
AdamWoodland
Commander Commander
Commander

Re: opening inset mimic

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.

 

 

 

andreassh
Crewman
Crewman

Re: opening inset mimic

It helped me to stop trying. 😄

Thank you.