Results 1 to 2 of 2

Thread: FIFO (keeping last 300 records)

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    FIFO (keeping last 300 records)

    I need to build a FIFO and I need it to be fast. I want to log values at 10 Hz into a file and it needs to be about 30 points over the past 5 minutes.

    So the process looks like:

    1) append record containing 30 points to fifo
    2) remove first record from fifo
    3) dump to file

    And I'm doing this 10 times a second and I want to keep the last 5 minutes worth of data. What is the fastest way to do this?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Can anyone give me a suggestion?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

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