Polybench® Reference
Source operator for a number of mathematical standard signals, such as sinus and noise.

Signal Generator

Overview

The Signal Generator is a generic source of common mathematical signals, such as sinus, triangle, block, and various types of noise. Use this operator for testing, education, as control signal source or as part of mathematical calculations on other signal sources.

Operator ports

Output S: Floating point values

Properties

Find more information about changing properties here: link

SignalType
type: Select from the list
Select one of the pre-defined signal types from the list.
Select one of those presets:
Sinus
Sinoidal signal
Triangle
Triangular signal
Square
Rectangular signal
Noise
Random signal / noise signal with an ampliture of 1.0
GaussianNoise
Mathematical noise with a Gaussian distribution
UniformNoise
Mathematical noise with a uniform distribution
ConstantValue
Constant value signal. The value of the signal is continiuously the Amplitude value.


SampleFrequency
type: Real value
The sample frequency in Hz of the signal. This determines in how many samples per second the signal is divided (must be greater than 0).


SignalFrequency
type: Real value
The frequency of the repetitive pattern of the signal. So, for example, if you have chosen SignalType to be Sinus, then this parameter determines the frequency of the sinus signal. Note: this is not the sample frequency!


PhaseShiftRad
type: Real value
The signal's phase angle in radiants.


PhaseShiftDegree
type: Real value
The signals's phase angle in degrees (0-360 degrees)


Amplitude
type: Real value
The measure of the signal wave's magnitude of oscillation (peak amplitude).

The meaning of the amplitude value (without unit) is not relevant here; an amplitude of 1.0 will output a signal that oscillates between -1.0 and 1.0.

ChannelName
type: See description
Name of the output channel


ChannelUnit
type: See description
Unit of the output channel. This is optional and per default not set.


SyncID
type: See description
Synchronization identifier, which is a word or a number that is commonly used by a group of components that should use the same Data Cursor.

For more information about SyncID and the Data Cursor, please see link.

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

Every object has the Caption property. This property is very important, because it is the name by which Polybench recognizes this object.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.

Documentation
type: See description
Optional documentation of this object.

It is good practice to write in short notes why you have used this object, and why its properties are set the way they are set. If this object is an operator, the Documentation text is displayed below the operator symbol.