sys::Obj sys::Virtual sys::Component func::TickTock
public class TickTock
[niagaraIcon="module://icons/x16/control/util/sine.png"]
TickTock component
Generates boolean square wave with ticksPerSec pulses per second
public property bool out [readonly]
output pulses
public property int ticksPerSec [min=1, config, unit="per_second", max=10]
can configure 1 to 10 pulses per second
public override void changed(Slot slot)
Behavior to execute when a property is changed externally
public virtual override void execute()
Execute is called once every scan.
public virtual override void start()
Callback when component is first started in an app.