Results 1 to 3 of 3

Thread: Compact logging Data

  1. #1

    Thread Starter
    Lively Member Hojo's Avatar
    Join Date
    Jul 2005
    Location
    Brisbane, Australia
    Posts
    119

    Question Compact logging Data

    Hello All

    I have an application that logs pressure data for later graphing and manipulating. All this is working fine but i have one question.

    At present i have the logged data writing to a text file, which when logging 8 channels upto 10,000 times a second the log file gets quite large if you log for a while.

    Is there another file type you would suggest for easy writing and reading but reducing the file size and therefore reading/writing time? as at the high speeds a 200 MB file is not unheard of.

    Thanks for any thoughts.

    Hojo
    Despite body and mind, my youth will never die!

    Everytime I learn something new it pushes some old stuff out of my brain!

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Compact logging Data

    If you even have it working at that speed, I don't think I'd try to compress it. It won't be as fast. What you might be able to do is to find a method to compress it after the file is written. Maybe you could create another file every so often? Like one or two minutes?

  3. #3
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    Re: Compact logging Data

    Can you show what kind of data is being logged? (just a few lines not the whole 200MB )

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