07-09-2008 11:08 AM
07-09-2008 11:38 AM
07-09-2008 12:24 PM - edited 07-09-2008 12:27 PM
07-10-2008 02:59 AM
07-10-2008 03:03 AM
Hi Samer,
you have to use the property node for it. Before the loop you make it right. Use also a property node in your timeout case, but bear in mind that you´ll get a message box every 10ms. ![]()
Mike
07-10-2008 03:28 AM
07-10-2008 03:36 AM
Hi Samer,
the event occurs every second, because you connect a constant of 1000 to the timeout. The value never change, because you write first the value from the control into the indicator and than you write "2" with the value(signaling) into the indicator. Connect directly the control to the value(sign) property and place the indicator, for example outside the loop.
Mike
07-10-2008 04:11 AM
07-10-2008 04:21 AM
Hi Samer,
it´s not necessary that the value realy changes if you use the value(sign) property, because with using this property you want that this event occurs. Try the attached example.
Mike
07-10-2008 11:00 PM - edited 07-10-2008 11:01 PM
If you want to use the value(signaling) property node with value changed event, but only want the event to execute if the value has truly changed, do this.
1. In the value change event, put all of your code inside the True case of a case structure.
2. On the left side of the event case, have the oldVal and NewVal terminals show. Wire them together with a NotEquals comparison going into the selector of the case structure.
This way the event will fire every time the value(signlling) property is written to, but the code inside the True case of the case structure will only run if the values have truly changed.