blockPulse
Generate pulse signal of type Real
Extends from Interfaces.SignalSource (Base class for continuous signal source).
Information
The Real output y is a pulse signal:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of pulse |
| Real | width | 50 | Width of pulse in % of period |
| SI.Time | period | Time for one period | |
| Integer | nperiod | -1 | Number of periods (< 0 means infinite number of periods) |
| Real | offset (from SignalSource) | 0 | Offset of output signal y |
| SI.Time | startTime (from SignalSource) | 0 | Output y = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |