LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Queue/Dequeue Data from a subvi that has a for loop inside it

I have a main Vi that has the consumer loop to show the continious measurement on front panel, the producer loop is burried into a subvie that has its own several Subvis within. the SubVi has a for loop with 5 iteration. the Queue/Dequeue functions perfect if I remove the for loop but the minute I add the for loop it gives an error

Download All
0 Kudos
Message 1 of 2
(2,917 Views)

What is the error?

 

From what I can tell from your screen shots (would have been better to have the actual VIs), your Concurr Plating WE VI is sending the TRUE through the Boolean queue, stopping the consumer loop prematurely (after the first iteration) which then destroys the queue and then the additional iterations of the FOR loop throw the Invalid Reference error (I think error code 1).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(2,890 Views)