Appearance
Signal Generator
Programmable function generator. It emits periodic sine, square, triangle or sawtooth waves with configurable amplitude, frequency, phase and offset, or a one-shot test stimulus: a step, a ramp or a rectangular pulse that starts at a set time and changes the output from Offset by A.
Category: Sources
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
out | Control output | Real |
Parameters
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Waveform | Choice: Sine / Square / Triangle / Sawtooth / Step / Ramp / Pulse | Sine | — | Sine, Square, Triangle and Sawtooth are periodic: A is the peak, f the frequency and φ the phase. Step, Ramp and Pulse are one-shot: the output sits at Offset, then changes by A at the start time (Step), over the ramp time (Ramp), or for the pulse width (Pulse). | waveform |
| A | Number | 1 | — | Peak value of a periodic waveform, or the change from Offset for Step, Ramp and Pulse. | amplitude |
| f | Number | 1 | — | frequency | |
| φ | Number | 0 | — | phase | |
| Offset | Number | 0 | — | Added to the output. For Step, Ramp and Pulse it is the level before the start time. | offset |
| Start time | Number | 0.1 | s (also ms) | Time at which the step, ramp or pulse begins. | t_start |
| Ramp time | Number | 0.1 | s (also ms) | Time the ramp takes to change by A. Zero makes it a step. | ramp_time |
| Pulse width | Number | 0.05 | s (also ms) | How long the pulse lasts. | pulse_width |