12-15-2010 01:29 AM - edited 12-15-2010 01:32 AM
Hi Ed,
an IMPLIES is not an OR... See the (detailed) help for the truth table! (It gives you a FALSE on the rising edge as shown by Altenbach in it's snippet: "Event triggered" is wired to the FALSE input of the select function.)
But you could still use my suggestion using the compound function to apply a (X AND NOT Y) function to detect a rising edge by outputting a TRUE...
12-15-2010 01:37 AM - edited 12-15-2010 01:38 AM
EMotts wrote:I couldn't get the "Implies" function to work for me--I think because it is basically an Or function, it was continuously triggering the event, and the LED was blinking. Not exactly what I wanted.
You did somethings wrong. Please show us your code.
(Remember the a FALSE output of the implies function indicates that FALSE-to-TRUE condition has occurred.)
12-15-2010 09:01 AM
Maybe sticking with the more basic logic funtion like 'Greater Than' 'Less Than' and 'Not Equal' will be easrier for you get the effect you wish.
12-15-2010 10:29 PM
Altenbach,
Okay, I see the problem with my code. GerdW pointed it out, too, but I missed it in my quick reading over breakfast this morning. Your example would trigger the event on the False case of the Implies function.
When I put my Value (Signaling) node into the False case of the case structure, it triggers the event correctly.
Thanks again to all who contributed. Ed
06-03-2013 02:11 AM - edited 06-03-2013 02:11 AM
Thanks Omar