Skip to content

Signal Generator

Programmable function generator that emits sine, square, triangle, or sawtooth waves with configurable amplitude, frequency, phase, and offset.

Category: Sources

Keywords: siggen, sig gen, function generator, fgen, waveform, sine, square, triangle, sawtooth, stimulus, test

Ports

NameDirectionValue typeNotes
outoutputdouble

Parameters

NameLabelTypeDefaultUnitsDescription
waveformWaveformenum (Sine / Square / Triangle / Sawtooth)00=sine, 1=square, 2=triangle, 3=sawtooth
amplitudeAdouble1
frequencyfdouble1
phaseφdouble0
offsetOffsetdouble0

Implemented in C++ class SimCompCtlSignalGen (components/control/CSim_comp_ctl_signal_gen/sim_comp_ctl_signal_gen.h).

Released under the MIT License.