05-24-2012 10:56 AM
My program will ask the user for configuration settings (changing values by selecting buttons on the GUI) and then aquire data based on that by hitting START.
i need to create a button(CHANGE) so when the user clicks it, it will allow them to select a new configuration and then continue with the aquisition again when they press START.
so i need the program to run continuosly, and allow the user to change parameters too.
I can add a big while loop to the whole structure, the only problem is that the ``set configuration`` tab is part a of a case structure, so adding a while loop to it will add the while loop to all the other cases as well (which I dont want, since they are initializations and ...).
any suggestions?
05-24-2012
04:05 PM
- last edited on
11-18-2025
09:50 AM
by
Content Cleaner
Sounds to me like a event structure is what you are looking for. There are tons of examples and if you select File>>New>>Templates>>Frameworks>>Design patterns you will see User event framework for a starting point.
Hope this helps