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
84248members
353348posts

[Imported] Get the user Interface in Script

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
261

[Imported] Get the user Interface in Script

>>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?_**