You could use the get queue status to return the array of elements in
the queue then search the array then if found remove the elements you
wish to remove. The flush queue could be used to remove all items from
the queue then index the new array of information back into the queue.
The flush queue could be used in place of the get queue status if you
plan to remove an element each call.

Unless you are set on using the queue method another choice may be to
create your own version. You could write a vi that includes a state
machine allowing you to handle all your array manipulations based on
the call to the vi. Various states could be insert, search, remove,
sort.  Use a shift register on a while loop to hold the array and an
enumerated control to signal the state to execute. Use a string
control and indicator to pass information in and out of the vi.

I hope this helps.
Randall

Reply via email to