Package Modelica.​Blocks.​Interaction.​Show
Library of blocks to show variables in a diagram animation

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
BooleanValueShow Boolean value from numberPort or from number input field in diagram layer dynamically
IntegerValueShow Integer value from numberPort or from number input field in diagram layer dynamically
RealValueShow Real value from numberPort or from number input field in diagram layer dynamically

Block Modelica.​Blocks.​Interaction.​Show.​RealValue
Show Real value from numberPort or from number input field in diagram layer dynamically

Information

This block visualizes a Real number in a diagram animation. The number to be visualized can be defined in the following ways:

The two versions of the block are shown in the following image (in the right variant, the name of the variable value that is displayed is also shown below the icon):

RealValue.png

The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.RealNetwork1.

Parameters

TypeNameDefaultDescription
Booleanuse_numberPorttrue= true, if numberPort enabled
IntegersignificantDigits2Number of significant digits to be shown

Connectors

TypeNameDescription
input RealInputnumberPortNumber to be shown in diagram layer if use_numberPort = true
output RealOutputshowNumber 

Block Modelica.​Blocks.​Interaction.​Show.​IntegerValue
Show Integer value from numberPort or from number input field in diagram layer dynamically

Information

This block visualizes an Integer number in a diagram animation. The number to be visualized can be defined in the following ways:

The two versions of the block are shown in the following image (in the right variant, the name of the variable value that is displayed is also shown below the icon):

IntegerValue.png

The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.IntegerNetwork1.

Parameters

TypeNameDefaultDescription
Booleanuse_numberPorttrue= true, if numberPort enabled

Connectors

TypeNameDescription
input IntegerInputnumberPortNumber to be shown in diagram layer if use_numberPort = true
output IntegerOutputshowNumber 

Block Modelica.​Blocks.​Interaction.​Show.​BooleanValue
Show Boolean value from numberPort or from number input field in diagram layer dynamically

Information

This block visualizes a Boolean variable in a diagram animation. The Boolean variable to be visualized can be defined in the following ways:

If the Boolean variable is false the block is "grey", otherwise, it is "green". The two versions of the block are shown in the following image (in the right variant, the name of the variable value that is displayed is also shown below the icon):

BooleanValue.png

The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.BooleanNetwork1.

Parameters

TypeNameDefaultDescription
Booleanuse_activePorttrue= true, if activePort enabled

Connectors

TypeNameDescription
input BooleanInputactivePortBoolean variable to be shown in diagram layer if use_activePort = true
output BooleanOutputshowActive 

Generated 2018-12-12 12:09:55 EST by MapleSim.