Check Static Gap#
Block appearance in REPEAT VISION#
The Check Static Gap block checks that the input signal is less than (or possibly equal to) the static lower boundary or greater than (or possibly equal to) the static upper boundary at the current time step. The Upper bound and Lower bound parameters define the upper and lower gap boundaries. The block then performs an assertion after the comparison. If the signal goes beyond the gap, the statement is true (1) and the block performs nothing. If not, the block stops the simulation and returns a default error message.
1. Properties#
Property |
Default Value |
Description |
Units of measurement |
|---|---|---|---|
Enabled check |
On |
Block accounting when calculating |
- |
Availibility of calculation stop |
On |
Stops calculation in case of check error |
- |
Off |
Responsible for output port visibility |
- |
|
1 |
Upper gap boundary |
- |
|
0 |
Lower gap boundary |
- |
|
Include upper bound in gap |
On |
Boundary accounting when comparing |
- |
Include lower bound in gap |
On |
Boundary accounting when comparing |
- |
Message when assertion fails |
error |
Check error response message |
- |
2. Inputs and outputs#
Parameters |
Input/Output |
Description |
Units of measurement |
Port type |
|---|---|---|---|---|
Input |
Input |
- |
- |
Automation |
Output |
Output |
Available when property |
- |
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