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-03-13 05:09 AM . Last Modified: 2023-05-03 12:16 AM
Hi Community
I'm trying to determine how to automate a current and working Query that does diagnostic on our RTUs to daily generate and export that list at a particular time everyday.
Thanks for your assistance guys
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-03-13 08:37 AM
In the DataBase Tree, right click, then Create New > Other > Schedule.
Put your Query into a "SQL Export". Setup the Schedule to run Daily, weekly, or Monthly, etc, choose the time. Then drag and drop the SQL Export into the Object portion at the bottom of the Schedule window and choose "Export SQL Query Result" as the method.
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-03-13 08:53 AM
An alternative to an "SQL Export" would be a Crystal Report. This gives you more choices over the generated file format, e.g. Word, Excel, PDF, rather than just CSV.
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-03-13 08:37 AM
In the DataBase Tree, right click, then Create New > Other > Schedule.
Put your Query into a "SQL Export". Setup the Schedule to run Daily, weekly, or Monthly, etc, choose the time. Then drag and drop the SQL Export into the Object portion at the bottom of the Schedule window and choose "Export SQL Query Result" as the method.
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-03-13 08:53 AM
An alternative to an "SQL Export" would be a Crystal Report. This gives you more choices over the generated file format, e.g. Word, Excel, PDF, rather than just CSV.
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-03-16 04:48 AM
Thank you very much for taking time and effort to respond.
I will look into this
Tdog
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-03-19 02:15 AM
I've marked Hardin4019's post as the solution, feel free to do so yourself if you are happy with an answer in future.
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-04-30 12:10 PM
Hi Would anyone have an example script of how to do this?
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-05-01 05:45 AM . Last Modified: 2023-04-25 03:49 AM
Not much of a need to use a script since most of what you would need to run a report can be accomplished with a schedule. But, I suppose if you wanted to, the biggest thing you would need to know is how declare and call a Method to Execute or Export a SQL Export or a Crystal Report.
Here is a link that might have helpful info. https://community.se.com/t5/Geo-SCADA-Knowledge-Base/SMS-Alarm-Redirection/ba-p/278225
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.