Showing results for 
Search instead for 
Did you mean: 

Start button in my Vi.exe

helloSmiley Tongue


I want to control the input data by a start /stop button,so, and I dont know how I can do it?? ???.
I aquire signals from PCMCIA and USB NI cards


Please please help meSmiley Sad






0 Kudos
Message 1 of 2

This question gets asked like a bijillion times a month. Did you try a search? You need a loop that sits there waiting for the user to press the button. (Note: the only thing that should be in the loop is the actual operation. One-time configurations should be outside the loop. Same goes for closing the resources.) A simple state machine is an ideal solution. I'd recommend reading this article: Application Design Patterns: State Machines

Message 2 of 2