Hi Fred
There's an example that is very similar to your vi.
Just open the menu-entry "Find example...". Search for the keyword queues and have a look at the "Queue Basics.vi".
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------