A while back I created some queue and notifier templates that have been VERY useful. The template is one reentrant vi to enque and deque. It stores the refnum in a USR on first call, and names the queue according to the name of the VI. Everywhere I want access to the queue, I drop an instance of this vi. By using the name of the VI (via the property node) I never accidentally name the queue incorrectly. I usually use just enque/deque, but it would be simple to add more functions.
A copy of the template is attached.
George
At 07:09 AM 2/25/2004, you wrote:
When I have a strict typedef as the datatype of a queue, and I hold the reference to the queue in a global, changes to the typedef don't propagate to the global reference. Is there a way to make it happen? A different way of creating the reference for example? I'm presently using the context menu "Create Constant" and cut&pasting to the global.
-- Dr. Craig Graham, Software Engineer Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
