Results 1 to 6 of 6

Thread: Storing data

  1. #1

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289

    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)

  2. #2
    Fanatic Member doofusboy's Avatar
    Join Date
    Apr 2003
    Posts
    526
    Use Excel spreadsheet maybe?
    Do canibals not eat clowns because they taste funny?

  3. #3

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289
    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)

  4. #4
    Addicted Member
    Join Date
    Jul 2002
    Location
    BC, Canada
    Posts
    152

    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

  5. #5

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289
    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)

  6. #6
    Addicted Member
    Join Date
    Jul 2002
    Location
    BC, Canada
    Posts
    152
    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
  •  



Click Here to Expand Forum to Full Width