LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP WITH A TRAFFIC LIGHT THAT RUNS FOR 2 MINS

Solved!
Go to solution

Thank you for your suggestion!! I am still new in Labview and I will try my best to simplified the program. 

0 Kudos
Message 11 of 12
(434 Views)

@altenbach wrote:

wiebe@CARYA wrote:

@altenbach wrote:

It does not run forever because the loop terminates around iteration 120. So try to find a math function that starts over from zero instead, without stopping the loop.


Alternatively, put a 2nd loop around everything.

 


I don't like loop stacks containing the bulk of the code (see also) 😄

 

All you needs is a fully scalable and maintainable state machine!


Or a lightweight state pattern. Which I admit might be a bridge too far for OP for now.

0 Kudos
Message 12 of 12
(427 Views)