Appearance
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
| Name | Direction | Value type | Notes |
|---|---|---|---|
out | output | double |
Parameters
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
waveform | Waveform | enum (Sine / Square / Triangle / Sawtooth) | 0 | — | 0=sine, 1=square, 2=triangle, 3=sawtooth |
amplitude | A | double | 1 | — | |
frequency | f | double | 1 | — | |
phase | φ | double | 0 | — | |
offset | Offset | double | 0 | — |
Implemented in C++ class SimCompCtlSignalGen (components/control/CSim_comp_ctl_signal_gen/sim_comp_ctl_signal_gen.h).