02-08-2013 03:10 AM
Hello I've attached VI that executes states Setup/Measure/Save/Print and Wait if all other states are finished. How can I implement feature, that if buttons dB/Ohm and IF AUTO/MAN changes their values program execution immediately goes to Setup case.
For example: Measure state is exeuted... I press the button dB/Ohm or IF AUTO/MAN ... Measure state is left in the midle of execution and execution goes to Setup state.... after Setup state is finished program execution goes to the the interrupted state e.g Measure state.
02-08-2013
05:51 AM
- last edited on
05-12-2025
09:14 AM
by
Content Cleaner
You will need to use a producer / consumer architecture.
Here is something I did (its messy, sorry don't have the time to clean it up) to demonstrate what can be done. This is a good architecture for you to follow as it can address most of UI based applications efficiently.