Compare

Logic

Compare node

Compares a with b: greater is high while a > b, less while a < b, equal while they are within window of each other (only one is high at a time).

Inputs

InputTakesDefaultRange
avalue0-10 to 10
bvalue0-10 to 10
windowvalue00 to 10

Outputs

OutputGives
greatergate (on/off)
lessgate (on/off)
equalgate (on/off)