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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Create a New Trend with using Historic List

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
  • Create a New Trend with using Historic List
Options
  • Subscribe to RSS Feed
  • 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
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
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: ‎2023-02-22 11:01 PM . Last Modified: ‎2023-05-02 11:48 PM

0 Likes
5
1030
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-02-22 11:01 PM . Last Modified: ‎2023-05-02 11:48 PM

Create a New Trend with using Historic List

Hello,

 

 

In Geo SCADA, I save some data hourly to the database. I put this data into filtering and sorting processes by assigning a SQL query to a button I have created, and I can display it in the format I want on the Historic List. The SQL query I wrote is as follows. Thanks to this query, I can reach a list like the one below when the Historic List is opened. 

forum 23 şubat.PNG

 

But I can't show this filtered list I created on trend.

 

TREND (TRACE(RawHistoric, 'Temperature',SOURCE('Point3.Historic')), XAXIS(RelativeLatest),YAXIS('Temperature'))

I found the above format while searching the help pages, but when I adapted it to my own list, I kept getting errors. The format I created and the error I got are as follows.

SCX:////Trend/TREND (TRACE(RawHistoric, 'Debi', SOURCE ('Title="Events"&InitialSQL="SELECT TOP( 3 ) ""RecordId"", ""RecordTime"" AS ""~Time"", ""Value"" FROM CDBHISTORIC WHERE ( ""~Time"" BETWEEN { OPC ''H-23H'' } AND { OPC ''H+1H'' } ) AND ( ""Id"" = 35088 ) ORDER BY ""Value"" ASC"'')), XAXIS (RelativeLatest), YAXIS (‘Debi'))

error.PNG

 

In addition, I tried to create a "New User Query" and use the same query and format to create a trend with the help of the button to reach the solution for the issue I mentioned. But when I click on the button, although the trend is opened, it does not show any data, I am encountering a situation like the signal I have marked below.

trend.PNG

 

How can I resolve this situation? Can you help me?

Labels
  • Labels:
  • SCADA
  • 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 5
AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-02-23 12:54 AM . Last Modified: ‎2023-02-23 01:51 AM

0 Likes
4
1023
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-02-23 12:54 AM . Last Modified: ‎2023-02-23 01:51 AM

Historic trends use OPC HDA items as the source for their data. The SOURCE element of a TRENDSPEC is the name of an OPC HDA item. Trends do not support using an SQL query as the source of their data.

 

OPC HDA only supports filtering by OPC data quality (good, uncertain, bad) and time range.


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

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

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2023-02-23 01:32 AM

In response to AndrewScott
0 Likes
3
1021
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-02-23 01:32 AM

So what can I write as Source? I know that it is not possible to make permanent changes in the Historic List. In other words, when I edit the SQL query in the signal I created, if I close and open that page, it is reset again and the query is back to its original state. That's why I can't do it directly by assigning the signal to the train.

 

If so, what is the alternative way to trend the filtered data on the Historic List or filter the data directly in the trend? Is it possible to do this with the help of script? I'm waiting for your help.

Reply

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

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-02-23 01:46 AM . Last Modified: ‎2023-02-23 01:49 AM

In response to abdullah123456789
0 Likes
2
1018
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-02-23 01:46 AM . Last Modified: ‎2023-02-23 01:49 AM

As I said you can only filter historic trends by OPC data quality (good, uncertain, bad) and time range, nothing else.

The source for a historic trend is just the name of the OPC HDA item to be displayed, e.g. "Group.SubGroup.PointName.Historic".

 

To build your own lists just create a mimic containing an embedded list with the required SQL query.

Alternatively, save the list as a favourite or create a button on a mimic with a hyperlink pick action to the list.


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

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

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2023-02-23 03:53 AM

In response to AndrewScott
0 Likes
1
1013
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-02-23 03:53 AM

I guess I didn't explain. Actually, I don't have a problem with the list. I can handle the listing issue as I want using a query and via the button. However, I'm having a problem displaying this list on trend. As far as I know, the trend is actually the charted version of the 'Historic List' and if the list can be created, shouldn't the trend of this list also be created?

 

I have shown below as an example what I want to do. I transferred the hourly values I received for a day to the train. 24 points prove this. 4, 5, and 6 A.M. The 3 values marked in green, which belong to, are actually the values that I want to show in this trend. The 21 values I marked in red represent values that do not need to be displayed in the trend. I just want to draw a minimum of 3 values at 4, 5 and 6 A.M. The remaining values can either not be shown in the trend at all, or all values can be shown by marking the green values in some way.

Capture.PNG

Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2023-03-11 09:25 PM

In response to abdullah123456789
0 Likes
0
950
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • 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: ‎2023-03-11 09:25 PM

You essentially need to create a new Internal Analog Point, and then use logic in some manner to update its value (or write directly to the historic value) as you want.

 

The trend engine is designed to show you historical values of points.  If you want different historical values shown, you will need to hand customise those historical values (against different points).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
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

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of