Hello,
I have a producer/consumer architecture. In the consumer loop I have a elapse timer which runs within a while loop as shown in the attachment. My quesiton is how to break the elapse timer when stop button is pressed? The way I have done is by using a global for stop and then have the Elapse Time loop stop if stop is pressed. Are there any other way to perform this and avoid globals? I have looked into events but the timer needs to be in consumer loop within the state machine.
Are there any drawbacks of using Elapsed Time express VI for example overhead, momory usage, polling etc?
Thanks.