Software generator

Software generator

The Software generator source generates fully configurable standard signals like sine, block and triangle. All properties of these standard signals can be adjusted. The output signal of the Software generator source can be displayed in a graph or a meter and it can be used as source for I/Os and other sinks.

Typical applications for the Software generator are to compare measured signals with well known software generated signals or to test complex mathematical operations with well known signals before using them with real world measured signals.

Properties and actions

To control the behavior of the Software generator source, several properties and actions are available. These can be accessed through a popup menu which is shown when the source is right clicked in the object tree.

Signal type

The Signal type can be selected from several standard signals:

  • Sine
  • Triangle
  • Square
  • Noise

Signal Frequency

The Signal frequency of the output of the Software generator can be set to one of several default values. A user defined setting is also available.

Setting the Signal frequency only applies to periodical signals. When the Signal type is set to Noise, the Signal frequency property is not available.

Phase

The Phase property determines at which position in a period of the signal the generation starts. By changing the phase, a signal can be given a time shift. Several default values are available to select from, as well as a user defined setting.

Setting the phase only applies to periodical signals. When the Signal type is set to Noise, the Phase property is not available.

Amplitude

The Amplitude property determines how large the swing of the output signal of the Software generator sink is. It can be set to one of various default values or to a user defined value.

Hint: Setting the Amplitude to zero will give a DC signal, which can be controlled with the Offset property.

Offset

The Offset property applies a vertical shift to the signal. It can be set to one of various default values or to a user defined value.

Symmetry

The way how the Symmetry property affects the signal shape depends on the Signal type that is selected.

  • Sine and Triangle
    The Symmetry property determines the ratio between the rise time of the signal and the fall time of the signal.
  • Square
    The Symmetry property determines the Duty cycle of the signal.
  • Noise
    The Symmetry property is not available

The Symmetry is defined as a percentage. It can be set to one of various default values or to a user defined value.

Data size

The Data size property determines the size of the data block in samples that is generated by the Software generator. It can be set to one of various default values or to a user defined value.

Sample frequency

The Sample frequency property determines the number of samples per second that is generated by the Software generator. It can be set to one of various default values or to a user defined value.

Make sure to set the Sample frequency to a value that is at least two times higher than the Signal frequency of the Software generator, otherwise aliasing will occur.

Common properties and actions