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 valuesProperties
Find more information about changing properties here: linkSignalType
type: Select from the listSelect 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.
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 valueThe 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 valueThe 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 valueThe signal's phase angle in radiants.
PhaseShiftDegree
type: Real valueThe signals's phase angle in degrees (0-360 degrees)
Amplitude
type: Real valueThe 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 descriptionName of the output channel
ChannelUnit
type: See descriptionUnit of the output channel. This is optional and per default not set.
SyncID
type: See descriptionSynchronization 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 phraseThe 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.
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 descriptionOptional 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.