04-28-2015 04:11 AM
Hi, i have a vi thats sends an emal when a LED light turns on. the led is controled by a bunch of other stuff. What im looking to do is only send 1 email when it turns red however the rest of the code must continue to run at all other times. I have 3 LEDs per indicator and about 12 indicators and if more than one of them light up the red LED its going to start spamming emails the way i have it set up now.
So to put it clearly i need to detect if a boolean has changes value and then see if that value = true and if both state change and value are true then send email.
04-28-2015 04:30 AM
Hi,
Here is a solution using the Value (sgnl) property. This property changes the value of the LED and generate an event at the same time 😉
Don't hesitate to ask if you need some more information.
04-28-2015 04:46 AM
A feedback node or uninitialised shift register can give you the value of the last run.