From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hi, I am using a queue in one of my subvi, I don't when to put the structure that used the queue in a while loop because I need information that is inside in other subvi. The problem I have is that my queue is created more then once if I don't place it in a while loop. I was wondering what structure should I place the initialisation of my queue in?
Hello. Best choice to get help: post your vi. In the meanwhile, try this solution. It can work to create the queue only once.
Cheers Alipio
--------------------------------------------------------- "Qod natura non dat, Salmantica non praestat" ---------------------------------------------------------
You can also created a named queue (See the tstring input for queue open). This prevents multiple queues being opened. The worst that could happen is that you have multiple references open.