sys::Obj sys::Virtual sys::Component control::ASW4
public class ASW4
[niagaraIcon="module://icons/x16/control/util/select.png"]
Selects 1 of 4 inputs to route to output based on selector value
if (sel - startsAt) <= 0, out = in1 if (sel - startsAt) == 1, out = in2 if (sel - startsAt) == 2, out = in3 if (sel - startsAt) >= 3, out = in4
public property float in1
input 1
public property float in2
input 2
public property float in3
input 3
public property float in4
input 4
public property float out [readonly]
output
public property int sel
sel, the difference of sel - startsAt is used to select the output
public property int startsAt [config]
startsAt, the difference of sel - startsAt is used to select the output
public virtual override void execute()
Execute is called once every scan.