From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling a state machine using a single button

Solved!
Go to solution

It's your second example I'm referring to...

0 Kudos
Message 21 of 23
(371 Views)

Ok I just downloaded the program to make sure it is doing what I told you it was doing. I added the states program 1, program 2, program 3, program 4 to the array and hit start. It went to program 1 then back to none then back to program 1 until I hit next. then it does program 2 back to none then back to program 2 until you hit next or stop.

 

Did you turn on the light to see the execution? I am not sure why it would work differently for you.

Tim
GHSP
Message 22 of 23
(360 Views)

Ah yes, now it works. I was fiddling with the wrong array 🙈

 

Thank you and I apologize for the inconvenience! 

0 Kudos
Message 23 of 23
(340 Views)