The Software generator source can be used to generate 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/O's 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.
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.
The Signal type can be selected from several standard signals:
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.
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.
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.
Setting the Amplitude to zero will give a DC signal, which can be controlled with the Offset property.
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.
The way how the Symmetry property affects the signal shape depends on the Signal type that is selected.
The Symmetry is defined as a percentage. It can be set to one of various default values or to a user defined value.
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.
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.
You can change the displayed name of an object by giving it an Alias. This can be handy when you are dealing with a lot of objects and have problems keeping them apart. You can for example give channel one of your instrument the alias "Battery", when it is measuring a battery voltage. To give an object an alias, use the item Alias ... in its menu. To remove an alias and revert to the original name of the object, set the alias to an empty string.
By default, the unit of most sources and I/O's is V for Volt. You can change the unit of most sources and I/O objects with the item Set unit... in the menu of the object. A string value can be entered in the dialog box that is shown.
When multiple sources or I/O's are displayed in a graph or a meter, they can be distinguished from each other by their Color. Three different color settings are available for a source or an I/O.
To disconnect one or more sinks from an I/O or Source, use the Disconnect sink(s) action. This will show a dialog that lists all connected sinks. Individual sinks can then be selected and disconnected from the object.
To disconnect all sinks from an I/O or source at once, use the Disconnect all sinks action.
When a new object is to be created, similar to an already existing object, with the same properties, the Clone action can be used. This will create an identical copy of the original object, with the exact same properties. Source(s) and sink(s) of the new object are not yet connected.
The Delete action deletes a source, I/O or sink. All connections of the object will be disconnected and then the object will be removed from the object tree. The source property of the objects that used this object as source will be cleared. The sink property of the objects that used this object as sink will be cleared. An axis in a graph that was connected to this object will be also deleted.
The Export data action allows to export the data of an object to a file. This is detailed described on the page about Exporting data.
The Load action allows to load the settings and data for an object from a TPS or TPO file. This is detailed described on the page about Loading into selected objects.
The Save as action allows to save the settings and data of one or more objects to a TPO file. When multiple objects are selected, the connections between the objects are saved as well. This is detailed described on the page about Saving objects to a TPO file.