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: 2020-11-25 02:04 PM . Last Modified: 2023-05-03 12:07 AM
Hi,
I have had to use tables in a Geo SCADA project to display data.
Using Registries I can use and display values associated with the current user.
Is there any thing I can do similar with tables?
So I can display data that is associated with the current user.
I don't think there is a way to instantiate a table in Geo SCADA to be user specific.
Also, I don't think there is a way to write to registries using the automation interface.
I guess I can write to a point or a table. Then write the value(s) of the point or table to registries.
There may be a better way?
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: 2020-11-25 08:55 PM
This will probably be easier if you tell us what the actual goal is here. Without how you think you could implement it.
I'll try to throw out some info tied to each of the keywords you've mentioned, but I'm not really seeing the associations between them... so my understanding of your enquiry would be enhanced by you providing context.
DataTables / DataGrids / DataSets are Database specific, not at all natively related to users, and not really Templateable either (they can technically be in a template, but they need unique names, so instantiating the templates is a bit less effective... DataSetRows are different here, and are ideal for Templates)
The SQL Query engine itself tends to not be user specific (i.e. I don't even think that it's possible to find what user a query is running under).
You can write to the Registry using Scripting (GetRegistry, SetRegistry).
If you are using the Automation Interface, then you also have access to COM functionality (external to GeoSCADA code) and you can read/write directly to the computer Registry (which prior to GeoSCADA contained the ViewX REGISTRY stuff... after GeoSCADA this REGISTRY stuff is now stored in the GeoSCADA Database... so you'd need to use the ViewX Scripting / Animation Expressions to retrieve it).
I don't recall seeing any REGISTRY access type stuff in the Automation Interface (or the .NET API), so you might need to submit feature requests for this functionality if you think that you need it for your use case.
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: 2020-11-25 08:55 PM
This will probably be easier if you tell us what the actual goal is here. Without how you think you could implement it.
I'll try to throw out some info tied to each of the keywords you've mentioned, but I'm not really seeing the associations between them... so my understanding of your enquiry would be enhanced by you providing context.
DataTables / DataGrids / DataSets are Database specific, not at all natively related to users, and not really Templateable either (they can technically be in a template, but they need unique names, so instantiating the templates is a bit less effective... DataSetRows are different here, and are ideal for Templates)
The SQL Query engine itself tends to not be user specific (i.e. I don't even think that it's possible to find what user a query is running under).
You can write to the Registry using Scripting (GetRegistry, SetRegistry).
If you are using the Automation Interface, then you also have access to COM functionality (external to GeoSCADA code) and you can read/write directly to the computer Registry (which prior to GeoSCADA contained the ViewX REGISTRY stuff... after GeoSCADA this REGISTRY stuff is now stored in the GeoSCADA Database... so you'd need to use the ViewX Scripting / Animation Expressions to retrieve it).
I don't recall seeing any REGISTRY access type stuff in the Automation Interface (or the .NET API), so you might need to submit feature requests for this functionality if you think that you need it for your use case.
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.