LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continous data aquisition while changing parameters in real time?

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?

0 Kudos
Message 1 of 2
(2,258 Views)

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

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 2
(2,237 Views)