ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
10-24-2019 06:15 AM
I would still recommend that you learn about state machines. A state machine architecture is very versatile and I agree with altenbach that it is well suited for this particular application.
10-24-2019 10:31 AM
@altenbach wrote:
All you need is exactly one while loop and a state machine architecture.
Here's a very (very!) simplified example for that. Look: Only one loop needed!