Constant#
Block appearance in REPEAT VISION#
The Constant block generates a scalar signal that is constant in magnitude.
1. Constant value control modes#
Mode |
Description |
|---|---|
Without control |
The user simply enters a number in the properties |
Switch |
For binary values (0/1) - switch next to the block |
For numeric values. Allows the user to change the constant’s value within a specified range using the slider next to the block. |
2. Properties#
Property |
Default value |
Description |
Units of measurement |
|---|---|---|---|
Constant value |
2 |
- |
- |
Control mode: |
Without control |
- |
- |
0 |
Available, when |
- |
|
1 |
Available, when |
- |
|
Minimal value |
0 |
Available, when |
- |
Maximum value |
100 |
Available, when |
- |
Step |
1 |
Available, when |
- |
Show numerical value |
On |
Available, when |
- |
Value in OFF position#
Value in ON position#
Regulator#
3. Inputs and outputs#
Parameters |
Input/output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
Output |
Output |
- |
- |
Automation |
In order to see the connection capabilities of the block, you need to go to page Description of block ports
4. Code generation#
Important
Block supports C source code generation
Hint
The block supports displaying values of coefficients on blocks instead of an image of the block itself
5. Examples of use#
Examples of using this block can be found in the following sections:
Description of Demo.
Tutorials
Library |
Tutorial name |
|---|---|
Heat exchange |
Thermal conductivity in a flat wall; |
Automation |
Modeling a DC motor using blocks from the “Automation” section |
|
How-to guides
Section |
Guide name |
|---|---|
Code generation |
Traffic light on ARDUINO; |
Control systems |
|
Electrical equipment / Power industry |
Implementation of DC insert and harmonic analysis of electric power system currents |
Electrical equipment |
|
Machine learning approximation |
Solving the two-dimensional unsteady-state heat equation with PINN |
Решение оптимизационных задач |
Determining the required water flow rate in a pipeline system |