Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Lower priority notifacations - Time of day

If you remove all the brackets, I think the logic is incorrect.
You need to input $Alarm.update and EXP<21 and EXP>=6 or $Alarm.update and $Alarm.priority>=9
Ryan Shi
National Instruments
0 Kudos
Message 11 of 14
(2,760 Views)
OK.. Again. I spoke too soon. It's still not working! AHHHHH!!! Is there some way I can talk to you on the phone or talk to an engineer that can walk me thru this?? It has to be something I am doing out of order or something I am missing. I have gone over my syntax several times, and tried to follow you instructions. Nothing seems to be working to get this thing going.
 
 
Thank you!!!!
0 Kudos
Message 12 of 14
(2,759 Views)
I make an example for you. Just Exp1 and Mailer objects.
 
To test this example, just change the pot's value. If Pot>50, it will be priority 6 alarm. If Pot>90, priority 9 alarm.
 
I use an Oneshot object just to show Mailer.send. When the Email is sent out, the light will be ON for 0.5 seconds.
Ryan Shi
National Instruments
0 Kudos
Message 13 of 14
(2,752 Views)
I find a problem. The "Send=" box of Mailer object has a fixed length, about 40 characters. So it only shows the first 40 characters, even if there is a long expression. You can input longer, and it works fine, but you can't see the left part.  If you right click the yellow box, you will see the whole expression in "Expression Editor".
Take care of this bug.
Ryan Shi
National Instruments
0 Kudos
Message 14 of 14
(2,750 Views)