EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-04-30 09:57 PM
Hi
I am trying to create a Multi-tab menu in mimic or inset of GeoSCADA, so operator can move between tabs by clicking them.
I have tried anything that I know about layers but it seems it is not solution or I am not doing in right way.
Can anyone help me about this issue how to do that?
thanks
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-07 03:36 AM
Nobody else commented? Oh well, I'll try! Here's one way (uses the user registry, works if you don't have the same mimic open more than once on the same client):
1) Put each tab into a separate Layer on the mimic
2) In the Layer setup dialog, edit the Visibility Expression using a registry key:
Ensure the actual tabs are on a different layer which is always visible - because they need to be clicked.
Do this for each layer/tab and use a different number for each layer (3 is used here).
On each tab, add a Pick Item. Choose the Registry type of pick action.
Enter the registry item name and value corresponding to that tab.
You probably want to animate the tab in some way to show it is selected.
You can use, for example, the Font Style property to show bold text when selected:
iif(REGISTRY('Area Control',1) = 3,1,0)
By using the registry, items keep the same visibility when mimics are closed and reopened.
See the F1 help - search for "Using Registry Settings to Control the Visibility of Layers on a Mimic".
There are other ways, for example using script.
You can put script into functions, or directly into Pick Actions.
Your script would make direct change to layer or item properties such as Visibility:
Navigate in the help to: " Core Reference > Coding > Scripting > Mimic.Layers"
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-07 12:26 AM
IIF(REGISTRY('Area Control',1) = 3,1,0)
The REGISTRY('Area Control',1) function will read the saved value of this registry variable. If no value was stored it will default to 1.
The IIF(v = 3,1,0) will return 1 if the (registry) value is 3, or 0 if otherwise.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-07 03:36 AM
Nobody else commented? Oh well, I'll try! Here's one way (uses the user registry, works if you don't have the same mimic open more than once on the same client):
1) Put each tab into a separate Layer on the mimic
2) In the Layer setup dialog, edit the Visibility Expression using a registry key:
Ensure the actual tabs are on a different layer which is always visible - because they need to be clicked.
Do this for each layer/tab and use a different number for each layer (3 is used here).
On each tab, add a Pick Item. Choose the Registry type of pick action.
Enter the registry item name and value corresponding to that tab.
You probably want to animate the tab in some way to show it is selected.
You can use, for example, the Font Style property to show bold text when selected:
iif(REGISTRY('Area Control',1) = 3,1,0)
By using the registry, items keep the same visibility when mimics are closed and reopened.
See the F1 help - search for "Using Registry Settings to Control the Visibility of Layers on a Mimic".
There are other ways, for example using script.
You can put script into functions, or directly into Pick Actions.
Your script would make direct change to layer or item properties such as Visibility:
Navigate in the help to: " Core Reference > Coding > Scripting > Mimic.Layers"
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-05-22 08:26 PM
Thanks Steven
This tab arrangement is used many times in my projects and I have never made it before. That was great help.
Regards
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-05 08:33 PM
Hi Steven
I am trying to create these multi-tab layers. regarding REGISTRY, I am quite novice in this concept. I have read SE help a few times, but I did not got its incept very well.
for example in this command "IIF(REGISTRY('Area Control',1) = 3,1,0)", what is happening ? specially REGISTRY part of that.
I am trying to find a simple ,easy to understanding explanation of this command.
Thanks again for your support.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-07 12:26 AM
IIF(REGISTRY('Area Control',1) = 3,1,0)
The REGISTRY('Area Control',1) function will read the saved value of this registry variable. If no value was stored it will default to 1.
The IIF(v = 3,1,0) will return 1 if the (registry) value is 3, or 0 if otherwise.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-10 05:00 PM
Hi Steven
I appreciate your support, It is working perfectly.
Thanks
Link copied. Please paste this link to share this article on your social media post.
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.