Hello I am using event structure. When program is inside the event case of one control, I want to trigger the �mouse down� event on another control at that time (without operating that another control), so that next time, another control�s event is called. I have many controls and hence thrir event cases , after which I want to trigger a specific event case corresponding to a button control.
(I wish to keep the contents of button2 case inside the event only)
In attached example: When user clicks �button 1� or �button 3�, event must be generated so that contents of �button 2� event are executed when program comes there next time
Why are you using "mouse down?" filtering events? Just use "value changed" events on the three buttons. Now create a "value(signaling)" property node for button 2 and write to it in event case 1, repeat for case 3. Let me know if you still have problems and I'll make an example.
Sorry, I just noticed that you only use LabVIEW 6.1 where signaling properties are missing.
Here is a simple solution for LabVIEW 6.1: - set all buttons to latch. - set all button events to "value changed" - merge the timeout event with event 2 In event cases 1 and 3 set timeout to zero, in all other cases to -1 (no timeout).
Hi altenbanch. I tried as per ur suggestion. But does not seem to work. Attached is example. Would you mind putting together working one with your idea.. Thanks
Thanks.This calls event2. But keeps continuously calling. I want only once. (I can put a variable there so that event executes it only once but ) Is there any way an have this event as non TimeOut event (other than timeout event?).
"Hi altenbanch. I tried as per ur suggestion. But does not seem to work. Attached is example. Would you mind putting together working one with your idea.. Thanks"
My questions you you are: *1 you set Value change(signal)=FALSE still 'value change' event is generated --- how?
*2 do u know why NI has put following statement in help of value (signalling) property? "National Instruments recommends you use this property only when you rely on LabVIEW generating an event in response to the programmatic value change."