LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run program through some event

Hiding the Button is no problem, but i didnt understand associating a boolean button with some key. 

 

Somil Gautam
Think Weird
0 Kudos
Message 21 of 36
(1,295 Views)

ok maybe this will help:

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 22 of 36
(1,292 Views)

or....

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 23 of 36
(1,284 Views)

I have checked this code too. Linking has been done, but i think event structure can be operational only when the code is running or else how would the code know that some key has been pressed unless and untill it is monitoring the KEYBOARD. Though, operating system is monitoring the Key pressed on the keyboard, but then the question comes, how it will run this particular code?????

 

(Sorry for troubling you with all sort of weired questions, but its the only way i can feel easy Smiley Happy)

Somil Gautam
Think Weird
0 Kudos
Message 24 of 36
(1,279 Views)

gOT TO GO.

wILL MEET YOU TOMORROW

Somil Gautam
Think Weird
0 Kudos
Message 25 of 36
(1,276 Views)
well the end user if they are going to use the program will probably have the code running(so spacebar will work)......and yes the program must be running for the computer to associate the keyboard with itself(and if the program is not running the spacebar does whatever labview has it do)....
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 26 of 36
(1,275 Views)

HI                                                                    (continuing with yesterday's discussion)

 

So you mean that its not possible to start a program with spacebar instead of the RUN button??

As the code wont be able to associate itself with the key board so no chance of getting it started through with a key!!!

Somil Gautam
Think Weird
0 Kudos
Message 27 of 36
(1,250 Views)
You can set the program to run automatically when started, and than from there when you hit spacebar whatever you want the program to do it will do....
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 28 of 36
(1,248 Views)

Hey Harold, good to see you again

 

OK. This idea is definitely feasible. 

Now one thing more, Can we configure new events in the event structure apart from the already existing ones?

Somil Gautam
Think Weird
0 Kudos
Message 29 of 36
(1,246 Views)
yes just add more events...
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 30 of 36
(1,242 Views)