08-23-2007 03:44 PM
08-24-2007 09:12 AM
08-27-2007 10:08 AM
Hi Paul-
Yeah, I discovered that opening a queue by name creates a new reference, even if it is open elsewhere, the hard way - my system crashed after five hours. I, too, have been using queues in state machines, as you know, and have not run into this problem before, but also have not controlled the state machine from outside its VI. Live and learn. I've fixed the problems, and it has been running over two days with no problem.
My main concern was to express to NI that a method of viewing the number of refnums, if not the refnums themselves, would have been invaluable in tracking down this issue, and to validate that all were captured. I do not know if posting to the general forum is a good way to raise concerns, but I could not put this in the "new features" section of the forum, so it is here.
By the way, it is interesting that VISA does not handle its refnums as queues: Opening VISA references, even in different VIs seem to use the same refnums.
Thanks for the reply, and hope to see you sometime in the near future!
-Randy