06-30-2004 04:32 PM
06-30-2004 04:55 PM
07-15-2015 03:36 PM
11 years later...
Khalid and Rolfe,
I am facing the exact issue, but I decisded to have my producer loop queue refnums bundeled, and I am debundling the cluster of refnums at te consumer loops respectively.
Using the Bundle/Unbundle by name would be much easier than what I am doing, but all the refnums have the name 'queue out', although I have given each queue a unique name.
Is there any way I can refer to the refnums using the queue given name ?
Thanks in advance 🙂
07-15-2015 03:48 PM - edited 07-15-2015 03:50 PM
Take another look at the "obtain queue" function.
http://zone.ni.com/reference/en-XX/help/371361J-01/glang/create_queue/
If you wire the queue name in to obtain queue in the sub vi, it will obtain the correct queue.
Edit: After rereading your question... just rename the queues in your cluster. It will allow you to bundle/unbundle by name. You could also make that cluster type defined so that if you add more queues later, it will automatically get added through your program.