I found an example of using the queue and adapted it, which did not seem to speed things up much. I had already tried indexing the data out of the loop and then saving it. It looked like I would have to wait hours for it save doing it this way. It may just be the computer I am using to test the program, which is older and slower than the ones we use to acquire during an actual test? Thanks for the help.