LabVIEW Development Best Practices Discussions

Showing results for 
Search instead for 
Did you mean: 

Software Control Timing Best Practices (Consumer Loop/State Machine)

Say I have a simple piece of code that needs to execute once, wait n seconds, and then execute again.


For Example a Stoplight:

Change to Red


Change to Green


Change to Yellow


What is the best way to keep the front panel responsive without continuously repeating the "Change to [Color]" state until you want the next color?

0 Kudos
Message 1 of 2

Look at the Time-Delayed Send Message from the ActorFramework, <vilib>/ActorFramework/Time-Delayed Send Message. It allows for sending a message after a specified delay.

0 Kudos
Message 2 of 2