LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run program through some event

I guess still, the same result
Somil Gautam
Think Weird
0 Kudos
Message 11 of 36
(1,067 Views)
this is the VI
Somil Gautam
Think Weird
0 Kudos
Message 12 of 36
(1,067 Views)
are you trying to make an event that when your mouse moves the program stops?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 13 of 36
(1,065 Views)
Yeah, i specified that eversince i posted this VI.
Somil Gautam
Think Weird
0 Kudos
Message 14 of 36
(1,061 Views)

all you would have to do is use the mouse move event.

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 15 of 36
(1,061 Views)
here you go...
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 16 of 36
(1,060 Views)

Great!!!!!!!!!!!Smiley Happy This is working this time

 

Now coming back to the Original question, Can i make a program run if i press some key or move mouse?

Somil Gautam
Think Weird
0 Kudos
Message 17 of 36
(1,058 Views)
yes I gave you an example of that already
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 18 of 36
(1,053 Views)

NAH, I want , that instead of running the program from run button, i should press some key from the keyboard which will actually run the program.

In your example, we first run the code from the run button  and then it indicates that the ENTER key has been pressed.

Somil Gautam
Think Weird
0 Kudos
Message 19 of 36
(1,049 Views)

you can use my code for this you can put you program in the event and have it run when the button is pressed or you could use a state machine

Message Edited by Harold Timmis on 09-16-2009 07:29 AM
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 20 of 36
(1,046 Views)