LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with consumer/producer loop.

 
0 Kudos
Message 11 of 25
(1,389 Views)
I changed the error shift register as suggested to a tunnel and it didn't seem to make a difference.
0 Kudos
Message 12 of 25
(1,385 Views)

I changed the error shift register as suggested to a tunnel and it didn't seem to make a difference.

 

OK, did you look at the contents of the error line?

 

Are you having an error, or not?

 

Create an indicator, or put a probe on the wire, to answer that. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 13 of 25
(1,382 Views)
I'm not getting an error. (See 6.vi)
0 Kudos
Message 14 of 25
(1,373 Views)
OK, so follow the steps I described - is the NEXT STATE thing showing what you expect?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 15 of 25
(1,370 Views)

It is not showing what I expect. It is showing "Start BurnIn" and I expect it to be showing TimeCheck.

0 Kudos
Message 16 of 25
(1,364 Views)

OK, keep chasing it backwards.  If it's not coming out, is it in fact going IN TO the queue?

 

 

Consider what you're doing - you are DE_QEUEUEing an element, and then you immediately FLUSH THE QUEUE.

 

Why is that?  That means your queue can never hold more than one element, which sort of defeats the purpose of the queue.

 

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 17 of 25
(1,359 Views)
Send a snap-shot if the VI heirachy with type-defs.  I'm thinking if the value in the cluster isnt what you expect-its being coerced from a divergent teyp-def

"Should be" isn't "Is" -Jay
0 Kudos
Message 18 of 25
(1,357 Views)
I've attached the VI Hierarchy.
0 Kudos
Message 19 of 25
(1,346 Views)
That's possible, Jeff, but flushing the queue is a great big pothole into which could fall the missing cluster.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 20 of 25
(1,345 Views)