LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure a program to run in continuous run mode

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(736 Views)
Solution
Accepted by topic author ameletudiante99

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.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(731 Views)

THANKS ,

yes I programmed a state machine and it works

0 Kudos
Message 3 of 3
(670 Views)