04-03-2014 11:13 AM
If I have a while loop running for a longer period of time:
I want to press a bolean to perform an operation for 10 loop iterations, and then want to continue the while loop as before.
How could I do this?
Example:data aquisition- running process, and want to capture data for 10 loops only
04-03-2014 11:44 AM
Hi F.N,
maybe State Machine is what you are looking for.
Here is more info about State Machines.
http://www.ni.com/white-paper/3024/en/
04-03-2014 11:57 AM
Put a counter in a shift register. Increment it each time you run your special case and when you reach so high, reset it and cause your while loop to run as normal.
But what it sounds like you really need is a good State Machine.