Arithmetic

Function Generator

Function Generator Function block for user defined mathematical functions. The basic arithmetical operations and brackets can be used in the function: * Multiplication / Division % Modulo-Division (only integer data types) + Addition - Subtraction ( ) Brackets The elements of the input vector and constants serve as operands. The index of the first vector element is 0. Thus a 2nd order polynomial could be defined as following: y=(x0-2)*(x0+3.4) If the input dialog is closed with OK, t...

Modulo-Division

Modulo-Division Modulo division of the input values, i.e. calculating the integer remainder of the division. A modulo division of 0 results in 0. Parameters With the use of the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X1 I UCHAR, WORD, LONG, LONGLONG Dividend X2 I UCHAR, WORD, LONG, LONGLONG Divisor Y O UCHAR, WORD, LONG, LONGLONG Residue Comments If no connection exists, another data type for a block can be assigned by creating a new connection. ...

Negation

Negation Negation of the input value, i.e. the current sign of the value changes. Parameters Through the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X I WORD, LONG, LONGLONG, FLOAT, DOUBLE Input value Y O WORD, LONG, LONGLONG, FLOAT, DOUBLE Negative value Comments If no connection exists, another data type for a block can be assigned by creating a new connection. If the data type is changed by the parameter dialog, all invalid input and output connec...

Division

Division Division of the input values. When dividing by 0, the maximum value (or minimum value, if the dividend is negative) of the data type will be the result. Parameters Through the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X1 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Dividend X2 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Divisor Y O UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Quotient Comments If no connection exists, another data type for ...

Multiplication

Multiplication Multiplication of the input values. Parameters Through the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X1 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Factor 1 X2 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Factor 2 Y O UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Product Comments If no connection exists, another data type for a block can be assigned by creating a new connection. If the data type is changed by the parameter dialog, all ...

Subtraction

Subtraction Subtraction of the input values. Parameters Through the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X1 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Minuend X2 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Subtrahend Y O UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Difference Comments If no connection exists, another data type for a block can be assigned by creating a new connection. If the data type is changed by the parameter dialog, all in...

Addition

Addition Addition of the input values. Parameters Through the parameter dialog the data type can be assigned. Signals Name I/O Type(s) Function X1 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Summand 1 X2 I UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Summand 2 Y O UCHAR, WORD, LONG, LONGLONG, FLOAT, DOUBLE Sum Comment If no connection exists, another data type for a block can be assigned by creating a new connection. If the data type is changed by the parameter dialog, all invalid input a...