Home > Labview Error > Labview Error 1122

Labview Error 1122

Perhaps there is some issue with all these VIs being reentrant? I have a large number of reentrant VIs running and I create a lot of unnamed queues that I pass inside a cluster to sub VIs. Should I use control reference?Clement 1 Kudo Message 1 of 11 (3,129 Views) Reply 1 Kudo Re: Release Queue error tst Knight of NI ‎04-11-2005 05:52 AM Options Mark as New If not, then I would try to set a breakpoint immediately after the enqueue or dequeue function which is throwing that error and then poke around to see which of your have a peek here

I do not understand. Your cache administrator is webmaster. It has an input that lets you ignore a list of error codes; see the help for details. Also note that this reference only needs to be closed once. http://digital.ni.com/public.nsf/allkb/10AE5BC4A92626058625780600749827

Using LV8.0--------------------------------------------------------------------Don't be afraid to rate a good answer... -------------------------------------------------------------------- 0 Kudos Message 6 of 11 (3,003 Views) Reply 0 Kudos Re: Release Queue error vicens Member ‎07-05-2007 03:49 AM Options http://lavag.org/old_files/monthly_08_2008/post-2411-1220050049.jpg' target="_blank"> The Dequeue element gets an error stating the reference has become invalid while waiting. You should not need to destroy the queues, just close all the references you open. (there are good times to set destroy=True, but don't just set it because you feel like Also, state which version of LV you're using.The release queue is giving you an error because it is recieving an invalid queue.

Also try declaring the size of the queue and check the queue to see if it is full before you enqueue another element. Since you pressed the stop button, it is now T and the loop stops. I think there is a bug in the code that manages refnums. But I am not.

So far, this has not helped (other refnums are going 'invaild' at the same time as this one). ToeCutter 1 user's latest post: why do i get error 1122 at... That's excellent media mainly because it means that labview error code 1122 odds are good that labview error code 1122 your particular problem has been well reported and will probably be https://forums.ni.com/t5/LabVIEW/Release-Queue-error/td-p/203122 N.

Also what thread are you running this vi in? I will let you all know what they tell me in the end. -John Share this post Link to post Share on other sites mprim 0 Active Members 0 19 In the case of this VI, the upper loop, or 'producer' is trying to read all the data from a TCP connection (in this case a remote serial port broadcasing at Wire the release queue function out of the loop where you generate the events instead of the consumer loop.

Show more post info Size: 1,036 bytes Customize: Thread profile page for "why do i get error 1122 at dequeue element in consumer loop when i hit stop button" on I have error logging throughout my code that shows multiple references going invalid at the same time in unrelated VIs (all of these use 'private' unnamed queues). You should watch out for race conditions. This has happened to me countless time, and every single time this was a lifetime issue.

I wish I knew of another condition that could cause the refs to become invalid... navigate here John: We also use plenty of queues and a smattering of reentrant VIs. NI App support is trying to reproduce the issue. What appears to be happening is when some reentrant or VIT spawned code leaves memeory, it accidentally kills other queues in other instances of the same VIs.

Each of these functions is actually buried in several sub-VIs. What is wrong with it? That was the other thing I was going to say ... Check This Out I thought labVIEW used a GUID to name unnamed queues so they could never step on each other, but maybe because I have so many, the 'name' is getting reused?

The machine has 4GB of RAM and no other apps are running. Register a new account Sign in Already have an account? crossrulz 2 user's latest post: why do i get error 1122 at...

I owe you a drink!” Ronny: - 7 Months Ago “I was getting loads of errors until I tried this.

The notifier was released with the Force Destroy input set to T. 2. We use a fixed count for the first several bits and a random value for the last few. All rights reserved. How do I input a for loop in a producer/consumer event structure?

The loop iterates again. My guesses are: shared clones can sometime step on each other *or* memory is being corrupted. I have a large number of reentrant VIs running and I create a lot of unnamed queues that I pass inside a cluster to sub VIs. http://cygnussoft.com/labview-error/labview-error-88705.html newbieeng wrote: Edit: When I change the program as in the attachment, the error message does not pop-up.