A general purpose function generator.
This extends the capabilities of the built-in Function Generator by allowing arbitrary expressions for the various settings. By doing so complex waveforms may be generated easily.
Frequency, Amplitude, DCOffset, and Phase
are variables that are mutually
available. Hence the expression defining any of these may use the others as well as
the TimeSpan
and NumPts
variables, as well as the
Time
variable defined by NumPts and TimeSpan
TimeSpan
and Numpts
can also be expressions but may NOT use these internal
variables.
menu: veeos ==> Signal Processing ==> Modules ==> funcGen
library: sigLib
Since expressions are possible, complex waveforms such as this amplitude-modulated square Chirp signal are easy to specify. Note the usage of the frequency and numPts variables.
If any of the defined parameters are arrays they MUST be of size numPts.
If you create circular definitions or too much cross-coupling of parameters expect errors! Keep it simple.
VEE 7.0+, all platforms