Polybench® for biosignals / reference 1.34.1
Constant value; Outputs one channel with one sample of a user-set value (K)



Use this operator if a constant value should be set anywhere in a measurement configuration.

Operator ports

Output K: Floating point values
This is a Constant output, which does not output a signal, but a single value. A constant output does not have a sample frequency and is therefore recognized by Polybench to be a constant. Many calculations can be performed on constants as well as signals (or a combination of both). If an operator performs a calculation on constants only, it becomes a constant operator itself.

Constants and any other data source are allowed to be mixed without synchronization ("Synchronizer").

In a schematic, connectors that are connected to constant outputs are always colored black, while connections from other data sources may be colored differently.


Find more information about changing properties here: "Properties Viewer"

type: See description
The constant value at the output channel.

type: See description
The unit of the constant value. This value is optional and per default empty.

type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Variable Parameters

Find more information about Variable Parameters here: "Variable Parameters"

type: See description
The constant value at the output channel.


The Constant does not produce a signal. So if you connect a constant to a viewer directly, no signal will appear. In order to convert the constant value to a constant signal, use the Clocked Constant ("Clocked Constant"). For more information about signal types, see "Timing properties of samples in a stream".

It is possible to change the constant value from within your application. The Constant has a Variable Parameter, which can be changed by using a SET_PARAMETER Action ("SET_PARAMETER").

The Value of the Constant is displayed below the Constant symbol.

Example of use of the Constant. Each signal channel is multiplied by a different value. Also valid is to connect one constant to the multiplier, so that all three channels are multiplied by the same value.