06-29-2012 01:35 AM
Hello,
Can anyone suggest how to use event structure to make a left click on a boolean control ( or BUTTON) using MOUSE DOWN? event....
Solved! Go to Solution.
06-29-2012 02:38 AM
06-29-2012 02:58 AM
Why do you want to capture the left button mouse down event on the boolean control? The Boolean that you are clicking on generates a value changed event when you left click it!
Ken
06-29-2012 03:56 AM
Actually after completion of an event, the control has to automatically clicked in order to enter another value change event by that control.
06-29-2012 03:58 AM
Thank you PiDi, But the version i am using is 8.5. So i can't access the VI that you have posted. Can u plz send me the screenshot of that VI.
06-29-2012 04:00 AM
You can return the control to its original state by writing to the value property before he code run by this event completes ready for the next one
Ken
06-29-2012 05:29 AM
Ken,
Control with a latching mechanical action cannot use value property.....
06-29-2012 06:12 AM
You didn't say your Boolean was latched. Does it need to be latched. Convert it to switched and the property node can be used to revert the Boolean back to off in the event so it behaves just like a latch. Not sure what you are trying to achieve that is extra to normal Boolean in an event structure behavior. Can you post code (.vi not .zip) or code snippet that illustrates your problem.
Ken