Hello,
How could I realize the following?
1. Get data from measurement instrument.
2. Display the data in a Chart (only one TLineSeries).
3. Make some calculations.
4. Save Series data in one file (txt or xml or something else).
5. Clear Series
6. Go on with step 1. (proceed 100-200 times for each experiment)
The problem is step 4:
How to save the data for each experiment in one file (As an archive for the experiment). Use this file later to retrieve the data easy in another program with TChart descendant.
Who has an idea?
Steven
Save Series data in one file
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Steven,
Please see Tutorial 12 - Exporting and Importing Charts, specially the Exporting data section. You'll find the tutorials at TeeChart's "Docs" folder in TeeChart7Manual.chm. You'll also find examples at the features demo, available at TeeChart's program group, at All Features\Welcome!\Exporting\Chart Data.
Please see Tutorial 12 - Exporting and Importing Charts, specially the Exporting data section. You'll find the tutorials at TeeChart's "Docs" folder in TeeChart7Manual.chm. You'll also find examples at the features demo, available at TeeChart's program group, at All Features\Welcome!\Exporting\Chart Data.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I saw the information in the tutorial and in the help-file about Import and Export.
But my problem is how to save in one file and add new series data in that existing file. Not generate a new file for each series data! That means after the experiment I have hundreds of files only with a few data.
If it is possible in txt file, then it should look like a spreadsheet.
Steven
But my problem is how to save in one file and add new series data in that existing file. Not generate a new file for each series data! That means after the experiment I have hundreds of files only with a few data.
If it is possible in txt file, then it should look like a spreadsheet.
Steven
Hi,
one way would be to load the contents of the txt file into the Chart and then do the export, but depending on the amount of data this could decrease the speed.
Another way around is to export manually, creating the txt file as your own and save the data.
one way would be to load the contents of the txt file into the Chart and then do the export, but depending on the amount of data this could decrease the speed.
Another way around is to export manually, creating the txt file as your own and save the data.
Pep Jorge
http://support.steema.com
http://support.steema.com