05-10-2012 12:33 PM
Simon and Jeff really thanks a lot! I will studie it myself but this will help me a lot to understand more of labview!
05-10-2012 12:38 PM
And DON"T forget to read up on Defer Front Panel updates while you are studing Event structures!
05-10-2012 03:08 PM - edited 05-10-2012 04:20 PM
I have a lot of issues with Simon's code.
Here's a quick rewrite how I would do it. No local variables, no sequences, and a single toplevel event structure doing almost everything.
It also handles the case where stop is pressed too early.
Modify as needed ....
05-10-2012 04:16 PM
Right you are Christian! I just wanted to give the OP something that actually worked without getting to critical of a blue bar. The OP should have good reason to read caveats on using event structures with a critical eye.