General_Expression provides a capability to generate an output which is a function of the data received at the input ports and specified constants, Variables or Macros. The number of input ports and the naming of the input ports is arbitrary (in1 is provided as a default). A variety of operators may be used, including: +, -, *, /, %, RANDOM, SQRT(x), LOG(x), EXP(x), ABS(x), TRUNC(x), ROUND(x), FLOAT(x), SQR(x), MIN(x,y), MAX(x,y) (see: SCHEDULER functions) The user specifies the output function as an attribute string for an attribute "out", for example, expressions could be: out = in1 * in2 * 1.0e-7 out = in1 * in2 * in3 out = bozo * data_rate + gandalf (assuming that bozo and gandalf are either inputs, variables or macros) Because General_Expression is an interpreted rather than compiled block, its execution time is relatively long.
Ports
Input Ports
- in1-n Data Type: INTEGER or REAL
Output PortsParameters
- real_out Data Type: REAL
- int_out Data Type: INTEGER
Ports
Input Ports
- in   Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output Ports
- out Data Type: REAL
Parameters
- Iconst Value: 50 Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTERGER
Output Ports
- out Data Type: INTEGER
Parameters
- ulimit Data Type: INTEGER
- llimit Data Type: INTEGER
Ports
Input Ports
- in Data Type: REAL
Output Ports
- out Data Type: REAL
Parameters
- ulimit Data Type: REAL
- llimit Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
InputPorts
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
- Gain Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: REAL
- in2 Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- out Data Type: REAL
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- quo Data Type: INTEGER
- rem Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data TYpe: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTEGER
Output Ports
- out Data Type: INTEGER
Parameters
- gain Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data TYpe: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in Data Type: INTEGER
Output PortsParameters
- out Data Type: INTEGER
Ports
Input Ports
- in1 Data Type: NUMERIC
- in2 Data Type: NUMERIC
- in3 Data Type: NUMERIC
- in4 Data Type: NUMERIC
- in5 Data Type: NUMERIC
Output PortsParameters
- real_out Data Type: REAL
- int_out Data Type: INTEGER
Ports
Input Ports
- in   Data Type: INT
Output PortsParameters
- real_out Data Type: REAL
Ports
Input Ports
- in Data Type: REAL
Output PortsParameters
- real_out Data Type: REAL