LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Structure, Boolean Control and Value Changde

I have a boolean control which is related to a frame in an event structure, the action set as Value Change. It worked ok with front panel click but I have problem with triggering it programmatically. I used the Val(sgnl) property node to trig the event. My problem is that it will trigger whenever a true or false value is sent to the property node, no matter it's changed or not. I don't know whether it's the normal behavior or I'm doing something wrong. Anyone can give some advices? Thanks in advance.
 
Guangde Wang
0 Kudos
Message 1 of 3
(2,822 Views)
What you are seeing is the expected behavior, Value Signaling always sends the event.  An easy way inside the event to see if that is the case is to compare the new and the old value.  If they are the same then you can do nothing in that event.
Message 2 of 3
(2,814 Views)
Evan, Thank you for your advice, if this this the expeced behavior, then I'll try to program it accordingly. Guangde
0 Kudos
Message 3 of 3
(2,802 Views)