LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem event

Solved!
Go to solution

Hi all,

 

this is the first time that I use indicator to control event, and I did get some info from this forum by using value signalling to control it (if not mistaken) ; i try to do it , yes it can work ,but somehow I don know the reason, when I didn't press the button  , the event can automatically being rasie up , and I did put a timeout event, it didn't route to this event, somebody can help me. Please refer to the attachment.

 

Thanks

 

William Lee

0 Kudos
Message 1 of 6
(2,961 Views)
Can you please explain what it is that you are trying to accomplish? The VI makes no sense. The timeout es never going to happen because you are constantly firing the Val(Sgnl) event.
0 Kudos
Message 2 of 6
(2,942 Views)
Hi Dennis , first of all, thanks for your reply, Maybe my VI work worngly. Actually what I want to do is : i have a cluster that contains 2 components, when I press either one of it, the event that defined to the cluster sould be executed but can i use indicator to control the event rather than using the button. By the way, may I know what you mean for "firing the Val(Sgnl) event" or can you explain what is the val(Sgnl) event do or any documentations? \\ Thanks
0 Kudos
Message 3 of 6
(2,929 Views)
Solution
Accepted by williamlee1982

You can do a mouse down event on the indicator. I don't see the point of doing this instead of using the buttons in the cluster. You have no event defined for those so I don't know what you want done but in the mouse down event for the event, you can write to the Val(Sgnl) property of either/both of the controls in the cluster.

 

Writing to the Val(Sgnl)  property is the same thing as a value change event. It was firing continuously because you were writing to it continuously - every time the loop iterated. You put it there for what reason?

0 Kudos
Message 4 of 6
(2,924 Views)
HI dennis, may I know what is firing that you means ? is it same meaning like execute the event or kill the event? thanks
0 Kudos
Message 5 of 6
(2,917 Views)
Yes, firing means that the event happens.
0 Kudos
Message 6 of 6
(2,915 Views)