LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in timeout behavior of wait for queue element

The first time a wait for queue element is executed with an infinite timeout (-1 ms) after previously having waited with a finite timeout, it actually times out after the previously used finite interval, a subsequent wait with an infinite timeout then works correctly. Attached is a test program demonstrating the problem. I have tried this demo on both Mac and Sun (LV 6.1 on Mac, LV 6.1f1 on Sun) and it behaves the same on both.
0 Kudos
Message 1 of 4
(2,832 Views)
I do not have an answer at the moment but I have unsuffited the file so that others can look at the program.

Jeremy Braden
0 Kudos
Message 2 of 4
(2,832 Views)
I think you are on to something. I managed to see the problem with the timeouts and I was able to modify your code to make it happen everytime the timeout tranistioned from 1000ms to -1. I am reporting the issue to R&D. If you would like to follow up with me, send an email to LabVIEW support at www.ni.com/ask .

Jeremy Braden
National Instruments
0 Kudos
Message 3 of 4
(2,832 Views)
Has there been a solution to this problem - I have a simular one where the timeout of -1ms causes a 200ms delay on throughput - changing to say 50ms causes no delay on throughput and then I can't change back to -1ms. Hopefully LV7 has fixed this...
0 Kudos
Message 4 of 4
(2,832 Views)