06-27-2024 03:16 AM
Hi
I have a data acquisition program, I have choices between acquisition and triggering modes; as well as recording and I want my program to be interactive with the user to better explain the choices, for this I have to execute and make the choices but that does not work; the program executes with the choices I made before running the vi?
Is there a way to correct this?
thanks in advance
Solved! Go to Solution.
06-27-2024 03:23 AM
Yes by not relying on continuous run mode but write an actual program with a main loop that initializes everything and then waits on user input to do the actual operations.
State machines are the way to go for this! There are actually examples for this in the LabVIEW Example Finder under your Help menu.
06-28-2024 04:10 AM
THANKS ,
yes I programmed a state machine and it works