Sedona

control::Div2


sys::Obj
  sys::Virtual
    sys::Component
      control::Div2

public class Div2 [niagaraIcon="module://icons/x16/control/math/divide.png"]

Div2 Two Input Division object

out = in1 / in2


div0

public property bool div0 [readonly]

if in2 is 0, div0 is true and out gets set to 0.0

in1

public property float in1

numerator value

in2

public property float in2

denominator value

out

public property float out [readonly]

output value

execute

public virtual override void execute()

Execute is called once every scan.