Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

Automatically Exporting SQL Query

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Automatically Exporting SQL Query
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
313
AndrewScott
Admiral AndrewScott
101
BevanWeiss
Spock BevanWeiss
94
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
38
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Geo SCADA Expert Forum
abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2025-08-07 01:57 AM

0 Likes
2
17
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-08-07 01:57 AM

Automatically Exporting SQL Query

Hello,

 

I have a question about the November 2024 version of Geo Scada Expert 2023.

 

I need to export data in CSV format at specific intervals. To do this, I first created a Historic View in the Server Config that calculates a 15-minute average. I'm sharing the image below.

abdullah123456789_0-1754556554759.png

 

Then, I added a variable called 'WLM_ID' in Edit Metadata. If the value in the relevant signal contains the word 'Instantaneous', I want it to print it every 15 minutes. Then, I added a "SQL Export" item and filled in the necessary fields. When I run the query I wrote in the historical list for any signal, I can output the values of signals containing the word 'Instantaneous' in the WLM_ID every 15 minutes. I can also manually run the 'SQL Export' item, which exports the data to the appropriate file path. The query I used are shown below.

 

SELECT
"His15MAvg"."Time" AS "CurrentTime", "CDBPoint"."WLM_ID", "His15MAvg"."Value" AS "CurrentValueAsReal", "CDBPoint"."CurrentQuality"
FROM
"CDBPoint" CROSS JOIN "His15MAvg"
WHERE
"CDBPoint"."WLM_ID" <> '' AND "CDBPoint"."Id" = "His15MAvg"."Id" AND ( "His15MAvg"."Time" BETWEEN { OPC 'M -15M' } AND { OPC 'M' } ) AND "CDBPoint"."WLM_ID" IS NOT NULL AND "His15MAvg"."Time" IS NOT NULL AND "His15MAvg"."Value" IS NOT NULL AND ( "CDBPoint"."WLM_ID" LIKE '%Anlik%' )
abdullah123456789_1-1754556970314.png

 

 

However, I need to do this automatically, not manually. I used the 'Schedule' element for this, but when I use it, the export process doesn't happen automatically. How can I configure this to happen automatically and every 15 minutes? Can you help me?

abdullah123456789_0-1754556944739.png

 

Labels
  • Labels:
  • SCADA
  • Telemetry
  • ViewX
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
geoffpatton
Captain geoffpatton
Captain

Posted: ‎2025-08-07 08:48 AM

0 Likes
0
13
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-08-07 08:48 AM

Did you Edit the Schedule, which is different than Edit Properties, and link the SQL Export and then set the action to Export()?

geoffpatton_0-1754581683673.png

 

Reply

Link copied. Please paste this link to share this article on your social media post.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2025-08-08 12:03 AM

0 Likes
0
0
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-08-08 12:03 AM

I didn't add the part you mentioned. When I link it with SQL Export as you said, it automatically started to pull the data. Thank you for help.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

Welcome!

Welcome to your new personalized space.

of