NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine Function.

Hello,

I am using a State function structure. I have 4 cases under it. After 2nd state, I want the program to check for 2 conditions and if the condition is true, I want it to proceed further or I want to go to 4th state. Is it possible to that in State machine? I need something like Go to structure which will go to the chosen case instead of next case for a particular condition.

Thank you.

0 Kudos
Message 1 of 3
(3,254 Views)

You can use "Select"

0 Kudos
Message 2 of 3
(2,790 Views)

Hi,

The NI Labs group, is set up to share tools that are still in development and may not be the best spot to get your question answered. If you have question regarding LabVIEW (and programming a state machine) the best spot would probably be the LabVIEW board on the NI Discussion Forums

For more information on state machines, you may want to check out this State Machine Tutorial.

Thanks,

Matt
NI Community Team
National Instruments
0 Kudos
Message 3 of 3
(2,790 Views)