Why Does Release Queue Function Not Destroy the Queue?

Updated Aug 18, 2023

Reported In

Software

  • LabVIEW

Issue Details

I have an architecture developed in LabVIEW that uses queues and I have seen that sometimes release queue API's are used but they don't destroy the queue. Why?

Solution

To destroy a queue, you must call the Release Queue Function a number of times equal to the number of times you obtained a reference to the queue or stop all VIs using the queue reference. If the optional parameter "force destroy?" is TRUE, this function releases all references to the queue and destroys the queue.

If you need more details about this function you can refer to its LabVIEW Help page