Save variable data periodly

Save variable data periodly

Hello ZenonUsers!
I am very new to Zenon, and i wasn't able to find an answer to this question:
How do i save the value of a variable whenever it gets updated, so i can access & visualize it?
To give you further understanding of my problem, here's the complete scenario:
I have to visualize the energy that gets produced by a photovoltaik-cell. Therefor we already installed a microcontroller, that sends data periodly (the produced energy since the last measurement-cycle [WATT]). The controller is connected to a WindowsCE-PC via RS232, and supports ModBus-ASCII-protocol. I already added the driver, and created a variable with "object-type: analog-input". and INT as data-type.
I guess this variable gets updated within the update-time i configured (10000ms), and receives the new value of the Microcontroller. I now want to save the received data, because i have three charts/diagrams i want to create:
1. The energy produced from the start of the day until now
2. The energy produced within the last month
3. The energy produced last year
So i would have to read that data from wherever and however they are saved and draw my chart line with that... but HOW, and WHERE can i save this data? A SQL databse, or maybe a simple text file??

I hope there's someone who could help me.. project deadline: 23th April :o
thanks in advance,
-Andrew

This is a migrated post! Originally posted on 17.04.2014 by user andareas. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com