Check Input Resolution#

block

Block appearance in REPEAT VISION#

 The Check Input Resolution block checks whether the input signal has the specified resolution. If the resolution parameter is a scalar, the block calculates the input signal modulus from the provided scalar resolution. The computed modulus is then compared to tolerance 10e-3 and an assertion is made after the comparison. If the modulus is less than the tolerance, 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

-

Availibility of output port

Off

Responsible for output port visibility

-

Message when assertion fails

error

Check error response message

-

Resolution

1

-

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Input

Input

-

-

Automation

Output

Output

Available when property Availability of output port - On

-

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