Operators

 

Control Operation

Inputs

Outputs

Description

 

Invert Position

1

1

Output position is the reverse of the input position. Since the position has a range of 0 to 1, the output position is 1 minus the position of the input.

 

Negate Value

1

1

Output value is the negative of the input value.

Note: The output control value will be clamped to remain in range if necessary.

 

Absolute Value

1

1

Output value is the absolute value of the input value. Clamping of the output control value may occur.

 

Threshold

1

1

Output position is 1 if the input position is greater than 0.5, 0 otherwise.

 

Hysteresis

1

1

Output position is either 0 or 1, based on the input position using a threshold with hysteresis. A high output will go low when the input position falls below 0.3; a low output will go high when the input position rises above 0.7.

If used with a noisy input, cleans up the signal. If it's a low signal, it has to go to 75% to go high, it then needs to go about 25% to go low.

 

Toggle on Rising Edge

1

1

 Using a threshold with hysteresis detector as described above, the output position toggles between 0 and 1 on each rising edge of the input.

 

Toggle on Falling Edge

1

1

Using a threshold with hysteresis detector as described above, the output position toggles between 0 and 1 on each falling edge of the input.

 

Value Sum

>= 2

1

Output value is the sum of the values of all inputs. Clamping may occur if the range of the output control is insufficient.

 

Value Product

 >= 2

1

Output value is the product of the values of all inputs. Clamping may occur.

 

Value Average

>= 2

1

Output value is the average of the values of all inputs.

 

Value Minimum

>= 2

1

Output value is the minimum of the values of all inputs.

 

Value Maximum

>= 2

1

Output value is the maximum of the values of all inputs.

 

Value Compare

2

1

Output position is 1 if the value of the first input is greater than or equal to value of the second input, 0 otherwise.

 

Value Link

1

1

Output value is the input value.

 

Position Sum

 >= 2

1

Output position is the sum of the positions of all inputs. If the sum exceeds 1, it will be clamped to 1.

 

Position Product

>= 2

1

Output position is the product of the position of all inputs.

 

Position Average

>= 2

1

Output position is the average of the positions of all inputs.

 

Position Minimum

 >= 2

1

Output position is the minimum of the positions of all inputs.

 

Position Maximum

>= 2

1

Output position is the maximum of the positions of all inputs.

 

Position Compare

2

1

Output position is 1 if the position of the first input is greater than or equal to the position of the second input, 0 otherwise.

 

Position Link

1

1

Output position is position of input.

 

For the following 6 logical operations, the inputs are treated as Boolean values with the value True if the input position is greater than 0.5 and False otherwise.

 

Logical AND

>= 2

1

Output position is the logical AND of the Boolean values of the inputs.

 

Logical NAND

>= 2

1

Output position is the logical NAND of the Boolean values of the inputs. NAND stands for NOT AND, or the complement of the output of an AND operator.

 

Logical OR

>= 2

1

Output position is the logical OR of the Boolean values of the inputs.

 

Logical NOR

>= 2

1

Output position is the logical NOR of the Boolean values of the inputs. NOR stands for NOT OR, or the complement of the output of an OR operator.

 

Logical XOR

>= 2

1

Output position is the logical XOR of the Boolean values of the inputs. For more than 2 inputs, XOR is defined as True if an odd number of inputs are True, False otherwise.

 

Logical NOT XOR

>= 2

1

Output position is the compliment of the logical XOR of the Boolean values of the inputs.

 

String Link

1

1

Output string is a copy of the input string.

 

Multiplexer

2 to 31

1

The input positions are treated as Booleans by comparing to 0.5. The Booleans are treated as the bits of a binary word, with the first input the least significant bit position. The output value is the value of this binary word.

 

Demultiplexer

 2 to 31

 

The input value is treated as a binary word. Each output position is set to either 0 or 1 based on a bit of that word. The first output is the least significant bit. This is the exact complement to the multiplexer.

 

See also

Purpose

Inputs and Outputs