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
84650members
353990posts

[Imported] Close another mimic from the current 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.

sbeadle
Janeway Janeway
Janeway
0 Likes
0
253

[Imported] Close another mimic from the current mimic

>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-25 18:41:36 Id:269
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.

_______

**_Reg:
Is there a way to close a different mimic from the current mimic? For example if you have Mimic1 and Mimic2, on Mimic2 I want to run a script that will close Mimic1? (I am also not refering to embeded mimic's hence i dont believe topmimic will work)
I can find the mimic Object but it doesnt seem to accept the close Method eg:_**

_Dim Obj
Set Obj = Server.FindObject("ABCD.2 Trends.Trends.Start")
Obj.close()_

**_Thank you_**

__________________

AWoodland:
Hi,

You're using the server-side features to manipulate client-side features, so what you're thinking with that code won't work.

There is no simple way to do this, the only way would be using the ViewX Automation interface to close the mimics via scripting. The interface isn't really documented but you will find examples on this forum on how to use it.

__________

**_Reg:
Thanks Adam, I had a play with the automation interface yesterday afternoon and that seems to work well, just seems a bit of a funny way to achieve something that should be simple.
Thankyou again for your help
Reg_**