Ask our Experts
Didn't find what you are looking for? Ask our experts!
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!
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-05 01:52 PM . Last Modified: 2023-05-03 12:33 AM
>>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_**
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.