LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

queue size/buffer

Hallo!

I wonder what LV does when using the "queue operations" in synchronisationpalette, and the queue gets full? Does it handle this by automatically overwrite the elements in the queue?

/fredda
0 Kudos
Message 1 of 2
(2,681 Views)
Hello Fred
In a production/consumer structure,if consumption is slower than production, the queue will become full and the producer code will be forced to wait until the consumer has dequeued an element before a new element can be queued up.
The "enqueue" vi has timeout settings for cases where "waiting" is not aceptable.

See NI docs about queues in this site.

Greetings
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 2
(2,675 Views)