CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Fri Apr 20, 2018 5:51 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Mar 16, 2018 4:48 am 
Offline

Joined: Fri Dec 01, 2017 3:06 pm
Posts: 11
Hi All.

Sometimes i need to generate a report which shows min, max and avg of certain variable between certain time period from database.

Is it possible to access the integrated trend database (SQL Lite?) from ST code to get min/max/avg values?

Best Regards.

Y.M. Kim


Top
   
PostPosted: Fri Mar 16, 2018 11:21 am 
Offline
User avatar

Joined: Fri Feb 10, 2017 6:12 am
Posts: 42
See here: Trend API Example .
But it is not so simple to understand.


Top
   
PostPosted: Fri Mar 16, 2018 2:07 pm 
Offline

Joined: Fri Dec 01, 2017 3:06 pm
Posts: 11
Much appreciated.

I would check it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited