LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Switching between two almost identical state machines in one program

Solved!
Go to solution

I have a program that it is basically a state machine that opens and closes different valves with certain time delays. I need to implement another state machine in the same program that does the the same except two states of the implemented state machine and I need to be able to switch between them. What is the best way to go about it?

0 Kudos
Message 1 of 2
(859 Views)
Solution
Accepted by topic author Amr95

Keep the bulk of the state machine as is and use case structures where the code differs.

 

(I assume that only one is supposed to run at any given time). 

 

0 Kudos
Message 2 of 2
(843 Views)