sys::Obj sys::Virtual sys::Component control::Freq
public class Freq
[niagaraIcon="module://icons/x16/control/control.png"]
Freq calculates instantaneous input pulse frequency (based on rising edges). Result is output in pulses per second and pulses per minute.
Note: since input is checked only once per app cycle, result cannot exceed
1/2 execute scan frequency.
public property bool in
input
public property float ppm [unit="per_minute", precision=3, readonly]
frequency in pulse per minute
public property float pps [unit="per_second", precision=3, readonly]
frequency in pulses per second
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.