LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creation of only one queue

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?

Thanks
0 Kudos
Message 1 of 3
(2,535 Views)
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"
---------------------------------------------------------
0 Kudos
Message 2 of 3
(2,524 Views)
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.

Follow Alipio's example to solve this problem.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 3
(2,517 Views)