Compare Filter

Navigation:  Widget Designer > Nodes > Filter Nodes >

Compare Filter

prev main next

Navigation:  Widget Designer > Nodes > Filter Nodes >

Compare Filter

prev main next

Please wait. Due to its content this page might take a while to load...

The Compare Filter node checks two input values A and B if value A is smaller than, equal to, or greater than value B. Each case can generate a definable output value as well as a representative numeric output state.

The node can be found under Nodes > Filter Nodes > Compare

wd_nodes_filter_compare

Node properties

A:

Choose an input node from the drop-down or enter a numeric value.

B:

Choose an input node from the drop-down or enter a numeric value.

Operator:

Assign here specific output values for each case.

A = B: A is equal to B

A > B: A is greater than B

A < B: A is smaller than B

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

Node output values

The Node generates the following output:

- Output Value

- Output State: 1 = "A = B", 2 = "A > B", 3 = "A < B"