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,
Solved! Go to Solution.
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.
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.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!