|
-
Jun 18th, 2003, 01:09 PM
#1
Thread Starter
Hyperactive Member
Storing data
Hi
Im developing a application that will acquire data from a equipment at each 2 seconds belong 10 minutes. I need to plot a grafic (line shape), print a report from values and save a file in disk with these values.
I was thinking in use a database like access, but store a lot of data in a short period like this is not cool.
Someone can help me with a sugestion? What is the best solution to this case?
thanks
Daniel
If you want to be loved, first love who God gave to you.
"Se você quer ser amado, primeiro ame quem Deus te deu"
(Acts 20:35)
-
Jun 18th, 2003, 01:17 PM
#2
Fanatic Member
Use Excel spreadsheet maybe?
Do canibals not eat clowns because they taste funny? 
-
Jun 18th, 2003, 01:22 PM
#3
Thread Starter
Hyperactive Member
but to store data in real time, i think that is not good
thanks by your post
If you want to be loved, first love who God gave to you.
"Se você quer ser amado, primeiro ame quem Deus te deu"
(Acts 20:35)
-
Jun 18th, 2003, 01:23 PM
#4
Addicted Member
Re: Storing data
Originally posted by Jupiter-SL9
... I need to plot a grafic (line shape), print a report from values and save a file in disk with these values.
Unless I'm misreading this, don't you save the values read from the equipment into the file? Or do you manipulate it first?
I was just wondering if you can append the data to the file you're going to save later and once finished acquiring you read in the file? (In short Acquired Data --> File. Once complete, just read the file in (could even do this at later time?) and then print your report.
That's my suggestion. 
Destined
-
Jun 18th, 2003, 01:32 PM
#5
Thread Starter
Hyperactive Member
Hi!
I need to save into file and i dont need to manipulate before save it.
But my question is what kind of file is the best to save the data?
The ideal would be a .dat file in binary format
What you think about this?
If you want to be loved, first love who God gave to you.
"Se você quer ser amado, primeiro ame quem Deus te deu"
(Acts 20:35)
-
Jun 18th, 2003, 02:36 PM
#6
Addicted Member
I'm not too sure about how you might like it, but here's how I'd try doing it first. (Also is fairly excel friendly)
--------------------------------
MyData - June 18, 2003
Time Value
0 3.24
0.2 3.23
0.4 3.25
....
--------------------------------
As for how to implement this, I'd look up how to write to a file. Seriously. I can't remember how to use VB to write to file. :P
Seperate the fields with some sort of delimiter, probably tabs. This way, it looks nice even when you open it in Notepad. 
Destined
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|