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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Automating trnexportcsv

AVEVA Plant SCADA Forum

A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.

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
  • Industrial Automation
  • AVEVA Plant SCADA Forum
  • Automating trnexportcsv
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
olivier_vallee
Lt. Commander olivier_vallee
28
Oncom
Commander Oncom
6
BevanWeiss
Spock BevanWeiss
2
RoozeeR
Lt. Commander RoozeeR Lt. Commander
2
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to AVEVA Plant SCADA Forum
Jamiemarburg1
Jamiemarburg1
Cadet

Posted: ‎2025-02-09 03:24 PM

0 Likes
2
266
  • 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-02-09 03:24 PM

Automating trnexportcsv

Hello,

         I'm trying to automate the trnexportcsv() cicode function in Citect Scada 2016 at our plant. The idea being the operations team can easily extract data when needed. Just to clarify I am aware you can do this in process analyst but when they want to extract say a years worth of data you only get the 300 odd data points that are visible in the analyst graph rather than the millions of actual points that are available. Also aware that you can use the trnexportcsv() function with a button but my understanding is you need to specify pens, time, etc when you define the button. I want them to be able to specify whatever pens, time etc they need at the time and also have some sort of feedback on progress as from my experience the export can take a couple of hours. Hoping someone may have already ready written some type of function for this.

Labels
  • Labels:
  • Graphics Builder
  • Plant SCADA Runtime
  • Plant SCADA Studio
  • Scripting - Cicode
  • Trends
  • 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 2
olivier_vallee
Lt. Commander olivier_vallee
Lt. Commander

Posted: ‎2025-02-11 12:45 PM

1 Like
1
237
  • 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-02-11 12:45 PM

Hi @Jamiemarburg1,

I've not heard of this being implemented before, but in theory should be possible.

I think it is more common to log Trend data into a Historian, then query the Historian DB or SQL Server for the records required (either via automated report or ad-hoc report).

Have a look in the Citect Toolbox (not on GCS Forum): (8) Toolbox - Plant SCADA Community (formerly Citect) - AVEVA Software Community

You may find some sample code that gets you part of what you are trying to achieve.

The tricky bit will be to run it async (since it will be from client side cicode) and have hooks to notify completion of the task.

Kind regards

Olivier

Reply

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

Jamiemarburg1
Jamiemarburg1
Cadet

Posted: ‎2025-02-14 05:28 PM

In response to olivier_vallee
0 Likes
0
214
  • 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-02-14 05:28 PM

Thanks @olivier_vallee, I'll check it out!

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