Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you reference the output of a TimeOfHour object?

I am new to programming in Lookout and need to use a TimeOfHour object to fire another object. What is the correct syntax to reference the fact that the TimeOfHour object has fired?
0 Kudos
Message 1 of 2
(2,976 Views)
Hi,
I am assuming that you have the TimeOfHour object set up properly and it is working for you. Next, you would probably want to use an expression object and an IF statement to "fire" another object. Given that the name of the TimeOfHour object is "Timer1", an example of the IF statement would be: IF(Timer1,"Fire","Idle"), where "Fire" is the true result and "Idle" is the false result. Using an IF statement may not be necessary if you are "firing" an object that has a parameter such as active or On/Off. If this is the case, you can connect the output of the TimeOfHour object to the parameter of your other object and it will control it accordingly. Either way, the Lookout help is a good place to start to get more information on expressions or what parameters are
available for an object.

I hope that this helps.

Patrick R.
0 Kudos
Message 2 of 2
(2,976 Views)