From looking at your vi, you will need to place the Obtain Queue.vi outside of your while loop and also wire the Get Queue Status.vi Return Elements as True. See the image below. As far as the workings of the queue this should add data to the buffer until it reaches 990 and at that point it will add to the bottom of the buffer while removing from the top. Let me know if the queue does not accomplish what you are trying to do.
Good Luck

Message Edited by jmcbee on
04-09-2008 12:55 PM