LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

button release issue (use one button to trigger several other buttons)

Hi All, previously I have a question about using a button to trigger several buttons(use one "read all" button to trigger several "read" buttons). According to one referred code, we can use an event and a "read all" button to assign the true to several "read" button.But when I press "read all", all the buttons are assisgned as "True", and they are fixed as true instead of being released. Here is the comparison of normal button operation and my current situation. Could anyone advise how to solve this? Thank you!

button release.PNG

0 Kudos
Message 1 of 3
(2,854 Views)

To use the "Val(Sgnl)" property of a button, the Mechanical Action of the button has to be "Switch". It sounds like you are more used to the "Latch" mechanical action, that automatically sets the button back to false after it has been read. The fix is to set the buttons false yourself after you have detected they are true -- see the picture below:

 

set false.JPG

 

------

Matt Kirk

Inventor of ImageJVI

0 Kudos
Message 2 of 3
(2,842 Views)

Please keep it all in one thread where I think I answered you problem.

http://forums.ni.com/t5/LabVIEW/How-to-implement-a-button-function-to-trigger-several-buttons/td-p/2...


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,836 Views)