Local Variables (Registry Key Settings)
From Geo SCADA Expert 2019 onwards:
- The location from which the REGISTRY function retrieves a value varies, depending on the type of client from which the function is triggered and the user that is logged onto that client. With ViewX and Virtual ViewX clients, the value is now stored in the registry of the User Account database item that is associated with the logged on user.
- You cannot use the REGISTRY function if you are accessing the database as the Guest User or Super User. You can only use the function if you are logged on via a Geo SCADA Expert User Account.
For more information, see REGISTRY.
Local Variables are registry settings that allow Mimic display features to be altered without affecting the display on other PCs. For example, an operator can choose to hide a specific part of a Mimic—the Mimic object is only hidden on that operator's PC. Other PCs that are displaying the same Mimic are not affected by the operator's action.
In this section, we explain two common uses for local variables and registry settings:
- To allow operators to display different layers at the click of a button (see Using Registry Settings to Control the Visibility of Layers on a Mimic)
- To allow operators to apply different filters to an embedded list at the click of a button (see Using Registry Settings to Apply different Filters to an Embedded List).
These are just two possible uses for registry settings. Users with in-depth experience and knowledge of ViewX expressions will be able to use registry settings for many other purposes.
For more information, see Welcome to the Guide to Expressions in the Geo SCADA Expert Guide to Expressions.