If Data Node

The if data node creates a simple method to choose between two paths. If the value of the data is evaluated to true, then the true output is triggered, otherwise the false output. In addition to simply setting a threshold, a valid range can be specified as well as hysteresis so that a state change will only be triggered after a set number of data points.

Configuration #

At its core, either the lower limit or the upper limit have to be defined to realize a simple threshold check. Both can also be specified to realize a valid range check.

In addition, it can be specified whether the outputs should be triggered for each incoming data point or only when the state of the if data node changes. If Once on state change is set with a lower limit of 5, the input data of 1, 3, 6, 7 and 8 will result in only one output on the false output when 1 is received and once on the true output when 6 is received. If On every unbuffered data point is set, false will trigger on 1 and 3 while true will trigger on 6, 7 and 8.

A hysteresis can be realized by setting buffer data points to 1 or more. This will require those many data points before changing state. For data points 1, 3, 6, 7, 8 and buffer data points set to 2, only true will trigger on 8. If buffer data points is set to 1, it will trigger false on 3 and true on 7. Additionally, buffer can be set to a time value where at least another data points of the same state as the first one has to be received later than specified. If 15 seconds are set, and 7 arrives 10 seonds after 6 but 8 arrives 20 seconds after 6, true will only trigger when 8 is received.

Trigger: Once #

  1. TRUE (trigger true port)
  2. TRUE (no trigger)
  3. FALSE (trigger false port)

Trigger: Every / Buffer data points: 2 #

  1. FALSE (no trigger)
  2. TRUE (no trigger)
  3. TRUE (no trigger)
  4. TRUE (trigger true port)
  5. TRUE (trigger true port)
  6. FALSE (no trigger)
  7. TRUE (trigger true port)

Trigger: Once / Buffer seconds: 3 #

  1. TRUE (no trigger) t0
  2. FALSE (no trigger) t2
  3. FALSE (no trigger) t4
  4. FALSE (trigger false port) t6
  5. TRUE (no trigger) t8
  6. FALSE (no trigger) t10
  7. FALSE (no trigger) t12
  8. FALSE (no trigger) t14

Powered by BetterDocs

Leave a comment