LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event case with non-user action

Hi

I'm actually using LV8.0.1.
With this and older version of LV it wasn't possible to get an event case fired without an user action. (for example by changing the value programmatically.)

Is it possible in LV 8.2?

Regards

Yves
0 Kudos
Message 1 of 5
(3,054 Views)
You can either use the Value (Signaling) property for any control (not including latched boolean) to fire Value Change events, or you can create your own events (search for the events palette and search the example finder) and register\unregister dynamically.

___________________
Try to take over the world!
Message 2 of 5
(3,045 Views)
Hi tst,

thanks for your reply. Just tried to do it with the "Value Change Event".
BUT I must have missed something because it didn't worked.

What's wrong here?

Yves
0 Kudos
Message 3 of 5
(3,032 Views)
Yves,

You just missed the property node in your right-most loop.  To create a property node, right click on the block diagram control->create->property node, and then select "Value(Signaling)".  Value(Signaling) is different from "Value" in that it "signals" to LabVIEW that a change has been made, and thus an event can fire.  See the image of the code in your right-hand loop.

Hope this helps!


Message Edited by Day on 10-11-2006 09:29 AM

Message 4 of 5
(3,019 Views)
Thanks for your help

If I'm right this should be the "good" version. Is there anything I have done wrong or should modify?

Yves
0 Kudos
Message 5 of 5
(2,990 Views)