Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

[Imported] Mimic layer visibility, multiple registry expressions on a single button

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • [Imported] Mimic layer visibility, multiple registry expressions on a single button
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
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 Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2019-11-26 09:13 AM . Last Modified: ‎2023-05-03 12:22 AM

0 Likes
3
1705
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2019-11-26 09:13 AM . Last Modified: ‎2023-05-03 12:22 AM

[Imported] Mimic layer visibility, multiple registry expressions on a single button

>>Message imported from previous forum - Category:Scripts and Tips<<
User: hardin4019, originally posted: 2019-07-22 16:28:41 Id:476
I have working mimic layer with visibility buttons ( 1 for RTU Health, and 1 for Location info) that each toggle the visibility of their own layers. The annoying thing I am trying to work around, is that the layers are stacked, and if you turn on the top layer, you can't see the bottom layer without first turning back off the top layer. Is it possible to have both buttons not only turn on or off (iif Statement) their respective layer, but also turn off the visibility of the other layer with Registry expressions? Or are there better options for completing the task?

RTU Health button PickType 8, PickParam:

'ShowRTUHealth( ' + IIF( Registry('ShowRTUHealth', 1 ) = 0, '1', '0' ) + ' ) '

RTU Health Layer Visibility Expression:

Registry ('ShowRTUHealth', 0) = 1

 

Location Button PickType 9, PickParam:

'ShowLocation( ' + IIF( Registry('ShowLocation', 1 ) = 0, '1', '0' ) + ' ) '

Location Layer Visibility Expression:

Registry ('ShowLocation', 0) = 1

Labels
  • Labels:
  • SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2019-11-26 09:14 AM

0 Likes
0
1702
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2019-11-26 09:14 AM

>>Responses imported from previous forum


Reply From User: sbeadle, posted: 2019-07-23 13:42:18
You can use script to cause multiple registry changes (there are registry functions available within the script code).


Reply From User: hardin4019, posted: 2019-07-31 19:31:20
Thanks sbeadle, that works like a champ.


Reply From User: geoffpatton, posted: 2019-08-01 13:59:03
Why even use the registry? I just use vb script to change the visible property on mimic layers.


Reply From User: hardin4019, posted: 2019-08-01 14:09:28
Not sure that there isn't a better way of doing it... But for what I am doing, it works great. To be clear, I'm turning on the visibility of a single layer with the button and turning off the visibility of other layers if they are already on, but for multiple templated mimics, that are embedded into a single screen. Also it is nice that the registry is independent on each workstation since I have multiple work stations per system and do not want the layer visibility changing on the other work stations.


Reply From User: geoffpatton, posted: 2019-08-02 17:30:17
I use it on both layers and objects. Using the script is independent on each station, it does not change anything in the saved version of the mimic.

Actually when I tried using the registry it changed all the clients or maybe it was all web clients. I figured I might be doing something wrong, or it is because the WebX uses the server's registry. At the same time I figured out the Scripting and have not looked back at the registry. I prefer keeping things inside the software if I can also. I have had enough new IT rules mess with customers systems to be skeptical. I think that anything I do outside of the software increases the odds that IT will break something.
I have also used the state of variables to control visibility.

I love flexible software

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 3
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2019-11-26 09:14 AM

0 Likes
0
1703
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2019-11-26 09:14 AM

>>Responses imported from previous forum


Reply From User: sbeadle, posted: 2019-07-23 13:42:18
You can use script to cause multiple registry changes (there are registry functions available within the script code).


Reply From User: hardin4019, posted: 2019-07-31 19:31:20
Thanks sbeadle, that works like a champ.


Reply From User: geoffpatton, posted: 2019-08-01 13:59:03
Why even use the registry? I just use vb script to change the visible property on mimic layers.


Reply From User: hardin4019, posted: 2019-08-01 14:09:28
Not sure that there isn't a better way of doing it... But for what I am doing, it works great. To be clear, I'm turning on the visibility of a single layer with the button and turning off the visibility of other layers if they are already on, but for multiple templated mimics, that are embedded into a single screen. Also it is nice that the registry is independent on each workstation since I have multiple work stations per system and do not want the layer visibility changing on the other work stations.


Reply From User: geoffpatton, posted: 2019-08-02 17:30:17
I use it on both layers and objects. Using the script is independent on each station, it does not change anything in the saved version of the mimic.

Actually when I tried using the registry it changed all the clients or maybe it was all web clients. I figured I might be doing something wrong, or it is because the WebX uses the server's registry. At the same time I figured out the Scripting and have not looked back at the registry. I prefer keeping things inside the software if I can also. I have had enough new IT rules mess with customers systems to be skeptical. I think that anything I do outside of the software increases the odds that IT will break something.
I have also used the state of variables to control visibility.

I love flexible software

Reply

Link copied. Please paste this link to share this article on your social media post.

Mehdi_Sajjadi
Lieutenant JG Mehdi_Sajjadi
Lieutenant JG

Posted: ‎2024-05-02 05:54 PM

0 Likes
0
502
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-05-02 05:54 PM

Hi Guys

 

I exactly have the same issue, someone suggested  to use scripts but problem is I have no idea how write and run scripts in GeoSCADA. 

anyone can reply me the scripts or let me know where I can learn more about that?

appreciate in advance. 

Reply

Link copied. Please paste this link to share this article on your social media post.

geoffpatton
Captain geoffpatton
Captain

Posted: ‎2024-05-13 08:20 AM

0 Likes
0
430
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-05-13 08:20 AM

Look at the ViewX help in Core Reference > Coding > Scripting 

This site can be helpful for general VBScript functions. https://www.w3schools.com/asp/asp_ref_vbscript_functions.asp

This thread might help you get going also.

https://community.se.com/t5/EcoStruxure-Geo-SCADA-Expert/Embedded-mimics/m-p/442354

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of