Array Difference

Gives positions of changes of an array. Helps to retrieve which values have changed inside an array.

If several values have changed at the same time, changes are queued, and only one value is given by BLOC calculation.

If the queue length is greater than 8192 an error message is generated: queue overflow in Array Difference module

Settings

array in

Array input flows.

index

Index (position) of the last change.

old value

Old value at the index position before it changes

new value

New value at the index position.

changed

Returns 1 if the array has changed, 0 otherwise. Changes are queued so it stays at 1 for several consecutive BLOC calculation.

See also

version 3.0.150

Edit All Pages