LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start/Stop large data processing at will?


Thrash all already done and start over.

 

@altenbach wrote:

If you interrupt processing, do you want to hold onto the intermmediary result and continue processing later or do you want to thrash all analysis already done and start over from scratch the next time?


 

0 Kudos
Message 21 of 22
(719 Views)

Thanks,  how to better transmit the updated stop condition from the GUI loop to the state machine if the state machine is in the consumer loop?  is local variable good? 

@crossrulz wrote:

Each state can decide what state needs to be executed next.  That is why the state is stored in a shift register.

 

And the checking of the stop condition should be outside of the case structure.  You probably should put the reading of the terminal inside of a flat sequence structure with some other output from the case structure to make sure it is read after the state has been ran.


 

0 Kudos
Message 22 of 22
(712 Views)