NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Queue, first time use very slow

We create 2 TestStand Queues that are being dequeued within LabVIEW. The problem we're having is that the first time this code is called the dequeue is very slow, we have a 50ms loop timer, but it takes a number of seconds to run, for each element dequeued.
 
After we abort Teststand and leave LabVIEW in memory and run the same code again, then the time for dequeuing matches what we would expect according to the timers in the LabVIEW code.

Any help in this area, would be greatly appreciated. We have already tried making the queue of fixed length (50 elements).
 
We also tried to create the Queue twice inside the TestStand code, and this had no effect on the timing.

A
0 Kudos
Message 1 of 2
(2,911 Views)
Hi ADL,

Are you directly passing in the TestStand queue reference in LabVIEW, or is there some outside process controlling or accessing the queue?
I've built a simple version of the situation and I don't see any performance issues. 
Please post a screen shot of your dequeueing VI.


Gavin Fox
Systems Software
National Instruments
0 Kudos
Message 2 of 2
(2,889 Views)