>>Message imported from previous forum - Category:Scripts and Tips<<
User: mchartrand, originally posted: 2018-10-25 19:16:16 Id:276
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
_______
**_Dbaez:
Hi, in a mimic script I am improving the visualization through:
Set xvw = CreateObject("Serck.ViewXApplication")
Of course I get an error in WebX when the PC doesn't have ViewX installed.
How could I know if the user interface is ViewX or WebX?
So in the WebX case I simply won't execute this part. Thanks for help :-)_**
_________________________
AWoodland:
Use App.Head, if it returns 0 then its WebX, else returns the ViewX head id you're on (= 1).
The help has an example with Mimic.Close/back
________________
**_Dbaez:
Thank you, it worked great.
In the script, through the ViewXApplication I make some changes in the axes in the embedded trends. Now I'm wondering if it is possible to do this in WebX.
So, The axes in embedded trends can be accessed using something different to ViewXApplication?_**
User | Count |
---|---|
188 | |
56 | |
17 | |
17 | |
16 | |
10 |
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!