LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

# of elements in queue

Solved!
Go to solution

Are there any examples of the State Machine example in use with a Producer Consumer loop? I know your time is precious...

0 Kudos
Message 31 of 36
(686 Views)

which version of LabVIEW are you using?

 

What you would need to do, is just make your Consumer loop a state machine.

 

1.First thing you would need to do is identify your discrete states.  (The code in these states will perform a specific set of code)

2. Define the state transitions.  Which states needs to execute when something happens.

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 32 of 36
(685 Views)

2010 SP1

0 Kudos
Message 33 of 36
(679 Views)

@Eric1977 wrote:

Are there any examples of the State Machine example in use with a Producer Consumer loop? I know your time is precious...


Queued State Machine in NI Community.


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 34 of 36
(667 Views)

Thanks crossrulz

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 35 of 36
(663 Views)

Thank you crossrulz. I'll tale a look at this and replay back if I have any questions.

 

Thank you all for your help!

0 Kudos
Message 36 of 36
(648 Views)