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

Contact Support

Close

Ask our Experts

Have a question related to our products, solutions or services? Get quick support on community Forums

Email Us

For Community platform-related support, please email us

New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).

Script for creating trendlogs for menta program properties

EcoStruxure SEAL Forum

This forum is for engineers working EcoStruxure Building Operation, wanting to leverage the SEAL application to improve the efficiency in the engineering process.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
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: 

Select a Country

Please select a country to continue with beta search.

  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • EcoStruxure SEAL Forum
  • Script for creating trendlogs for menta program properties
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
Benji
Benji Champion
61
StefanLundin
StefanLundin Champion
56
Jim.T
Jim.T Troubleshooter
5
View All

Recommended Forums

  • Intelligent Devices Forum

  • SmartConnector Forum

  • Metering & Power Quality

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure SEAL Forum
Start a Topic
LukasB
LukasB Explorer
Explorer

Posted: ‎2025-11-14 10:02 AM . Last Modified: ‎2025-11-20 12:04 AM

5 Likes
10
1519
  • 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-11-14 10:02 AM . Last Modified: ‎2025-11-20 12:04 AM

Script for creating trendlogs for menta program properties

Just wanted to post a script I did for a faster transition time.

When using the script it is assumed that you have ”System” folder already created on the Server, for example: LB-201. The script will search through the LonWorks interface and find variable candidates inside the program modules. 
If you have a module with the name 1634_hhgd_LB—_201-ahu the script will almost always match that to the System folder LB-201. It will creat Interval trendlogs on all candidates that are not alarms, inside ”Node Objects or contain any of the excluding filters written in the input section of the script. 
You can adjust trend size, interval and delta of the trends. After creating the logs it will move the matched trendlog to /LB-201/Trendloggar and rename it. The name will be LB-201-”variable_name”_Logg the prefix is decided by the system foldername and sufix is always _Logg.

 

If the script finds any outliers it will put them under /Servername/Trendloggar if that folder exists, otherwise directly under the server. 

I’ve tried it out on a backup containing 6 Xentas and over 12 systems. All but 12 logs got sorted correctly, those were logs that came from networkvariables. 

I haven’t managed to find away to get the unit from the ligged variable to the trend. Still trying though.

Since I haven’t found a way to discern via the script if a signal is digital or analog I am stuck with only interval logs and not COV for digital signals. 

It’s not perfect but it might be of use for some. Please @ me if u try it and find improvements

 

ps AI is a godsend for scripts, thank you for the tip @Benji 

Attachments
XentaTrendloggar-1.0.0.zip
Labels
  • Labels:
  • Shared Scripts
  • Tags:
  • english
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 10
Benji
Benji Champion
Champion

Posted: ‎2025-11-14 10:35 AM

1 Like
0
1513
  • 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-11-14 10:35 AM

Thanks for sharing with the community @LukasB 💪

Reply

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

StefanLundin
StefanLundin Champion
Champion

Posted: ‎2025-11-15 12:52 AM

2 Likes
1
1467
  • 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-11-15 12:52 AM

Thank you for showing the way, @LukasB! I really encourage others to follow your example and share what they’ve accomplished. The more we share, the more we inspire and help each other.

 

Well done with the script as well!

Reply

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

LukasB
LukasB Explorer
Explorer

Posted: ‎2025-11-16 11:34 PM

In response to StefanLundin
0 Likes
0
1382
  • 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-11-16 11:34 PM

Thank you! 😎

Reply

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

JustinH
JustinH
Contributor

Posted: ‎2025-11-17 02:11 PM

2 Likes
4
1346
  • 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-11-17 02:11 PM

I cannot get this to import or if i manually add it to the script folder my custom scripts tab fails to load packages.  Im guessing when you mentioned AI you exported a trend and used AI to reverse engineer creating it via script?

Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-11-17 03:03 PM

In response to JustinH
1 Like
2
1344
  • 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-11-17 03:03 PM

@JustinH thanks for raising this - I can see that @LukasB would probably have to attach the script in a zip file, as the Community platform seems to obfuscate the exported script content.

Reply

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

JustinH
JustinH
Contributor

Posted: ‎2025-11-17 03:08 PM

In response to Benji
2 Likes
1
1342
  • 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-11-17 03:08 PM

I just stumbled into your SSoT file... I got a big SEAL script for object creation project I've been trying to reverse engineer stuff for and I think that will be what breaks me out of my rut there.  It looks like that SSoT covers what I wanted to see here but good to know for future shares to zip any script files.

 

Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-11-17 03:43 PM

In response to JustinH
1 Like
0
1338
  • 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-11-17 03:43 PM

Cool 🙂 Yes, the SSoT file together with the prompt template is intended to give a head start.

The video that comes with it intends to show how I got started using it. Might be helpful, and in any case we'd appreciate any feedback on how to improve.

https://community.se.com/t5/EcoStruxure-SEAL-Forum/SEAL-Script-and-AI/td-p/527542

Reply

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

LukasB
LukasB Explorer
Explorer

Posted: ‎2025-11-18 12:44 AM

1 Like
1
1287
  • 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-11-18 12:44 AM

The post is now updated with the script in a zip.
Thank you @JustinH @Benji .

Reply

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

LukasB
LukasB Explorer
Explorer

Posted: ‎2025-11-18 12:48 AM

In response to JustinH
0 Likes
0
1287
  • 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-11-18 12:48 AM

I followed Benjis post regarding the use of AI with SEAL script.
After that I had a PCT test server containing several Xentas with different structures for the modules and programs to test on. Had a lenghty conversation with the AI. So not too much reverse engineering.


This script is based on how alot of Xentas were structured in Sweden, I don't know how it looks in other regions therefor your results may wary.

Reply

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

Benji
Benji Champion
Champion

Posted: ‎2025-11-18 12:53 AM

In response to LukasB
1 Like
0
1285
  • 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-11-18 12:53 AM

Super, thanks @LukasB 

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

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

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

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

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 © 2026 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore