Rectangular pulse generator#
Block appearance in REPEAT VISION#
This block is designed to generate rectangular signals. Parameters of the block are graphically depicted in the figure.
a - signal period;
b - signal duration;
c - signal amplitude;
d - time shift of the signal.
Graphic representation of block parameters#
1. Properties#
Property |
Default value |
Description |
Units of measurement |
|---|---|---|---|
a |
500 |
ms |
|
b |
250 |
ms |
|
c |
50 |
real number |
|
d |
0 |
ms |
|
Sampling type: |
Fundamental project frequency decimation |
- |
- |
Decimation factor of project fundamental discretization frequency, available when selecting |
1 |
- |
- |
Sample time, available when selecting |
0.05 |
- |
s |
Sampling frequency, available when selecting |
20.0 |
- |
Hz |
2. Inputs and outputs#
Parameters |
Input/output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
Output |
Output |
Output signal |
- |
Automation |
In order to see the connection capabilities of the block, you need to go to page Description of block ports
3. Code generation#
Important
Block supports C source code generation
4. Examples of use#
Examples of using this block can be found in the following sections:
Description of Demo.
Tutorials
Library |
Tutorial name |
|---|---|
External models |
Working with CSV files: exporting and importing simulation results |
How-to guides
Section |
Guide name |
|---|---|
Code generation |
|
Electrical equipment |