Ask our Experts
Didn't find what you are looking for? Ask our experts!
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).
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
Please select a country to continue with beta search.
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
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
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.
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: 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!
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: 2025-11-16 11:34 PM
Thank you! 😎
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: 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?
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.
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: 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.
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: 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
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.
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: 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.
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.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.