We have an application that extensively uses queues, both named and unnamed. We suspect that one or more of these queues -- probably an unnamed one -- is not being properly drained, and over time is leading to a memory leak. I would like a means to programmatically examine all the queues in use to determine whether any are growing without bound. I looked for a way to do this and found this link.
The answer here is pretty unsatisfactory. Our queues have a multitude of types, and replacing every get/release queue with a registration VI specific to that type would be very tiresome. What we would like is a way to obtain a generic queue reference to each queue -- named or unnamed, suitable for use in Get Queue Status (providing the Elements Out output is not used, as that would require knowledge of type).
It would be fine if the refnums were "read only", that is, they could not be used to modify the queue in any way. Come to think of it, read only refnums might be useful in themselves, but that's another post.
If anyone can think of a way to do this with the existing features of 8.6.1 or LV 2000, I'd like to know about it, but there seems to be no existing method for doing this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.