08-09-2016 06:16 PM
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
08-09-2016 07:13 PM
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).