[Imported] Close another mimic from the current mimic
EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-0501:52 PM. Last Modified: 2023-05-0312:33 AM
[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_**