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
- last edited on
03-12-2026
03:35 PM
by
Content Cleaner
Take another look at the "obtain queue" function.
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/obtain-queue.html
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.