Ask our Experts
Didn't find what you are looking for? Ask our experts!
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 12:34 PM . Last Modified: 2023-05-03 12:37 AM
>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-23 17:22:17 Id:178
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
_________________
**_cmrl:
Hello,
(Thanks to geoffpatton for the suggestion to publish in this thread)
I need to find an object in the database, which is not a problem using: set obj = Server.LookUpObject(Id)
The challenge is how to highlight obj in the database tree in the current instance of ViewX from one script program?
It seems to be that the script world (Automation server, Mimic Scripts, COM, .NET) is separated from the current instance of ViewX ( the one that appears when the program is started).
There is an undocumented interface to ViewX, but this works only on created instances of ViewX.
Thank you for your help, Mauricio_**
___________________________
bevanweiss:
What you've asked for isn't really supported within ViewX.
You may be able to get this to work using the undocumented ViewX COM interface, but it wouldn't be recommended.
There is a context menu option 'Locate in Database Explorer', is this not essentially what you're trying to do?
-------------------------
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.