Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can set a button to false when another button is released?

Solved!
Go to solution

As I\m a beginner of LV, can someone please help me with this silly question? Is there any simple way?? Thanks!

 

for image acquisition, there are 2 buttons, "snap" and "grab".

"Snap" : switch until released, press once, it would autom. released when the process finishs.

"Grab" :  switch when pressed. press once will do the live mode, and push again will let it stop.

 

So if i click "grab" once, and click on "snap" without first stop the "grab", then after snap process finished i click again on the grab, then error comes, because not the "Grab" is still true..

i'm not sure if i have made myself clear enough,.,...but helpSmiley Mad

 

Chao

0 Kudos
Message 1 of 4
(3,670 Views)

can you please attach your vi also so that we can get a better understanding?

 

Sandeep

0 Kudos
Message 2 of 4
(3,653 Views)

Hello Schäfchen,

 

it would be really helpful if you could post you VI here (or at least a simplified). Otherwise it is quite hard to get the problem and, what is more important, to solve the problem.

 

I am looking forward to hear from you.

 

Regards

Johannes Gräper

Application Engineering

NI Germany

0 Kudos
Message 3 of 4
(3,630 Views)
Solution
Accepted by topic author Schäfchen

thanks everybody, i have basically solved the problem using case structure, see the pic.

i think there must be better ideas, some simple way. I hope they would come up to me later.  Smiley Happy

 

PS: how can i set my question to "solved"? 

 

 

0 Kudos
Message 4 of 4
(3,618 Views)