Modelica.Blocks.Interaction.Show

Library of blocks to show variables in a diagram animation

Information

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

Package Content

Name Description
Modelica.Blocks.Interaction.Show.RealValue RealValue Show Real value from numberPort or from number input field in diagram layer dynamically
Modelica.Blocks.Interaction.Show.IntegerValue IntegerValue Show Integer value from numberPort or from number input field in diagram layer dynamically
Modelica.Blocks.Interaction.Show.BooleanValue BooleanValue Show Boolean value from numberPort or from number input field in diagram layer dynamically

Modelica.Blocks.Interaction.Show.RealValue 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

NameDescription
use_numberPort= true, if numberPort enabled
numberNumber to visualize if use_numberPort=false (time varying)
significantDigitsNumber of significant digits to be shown

Connectors

NameDescription
numberPortNumber to be shown in diagram layer if use_numberPort = true
showNumber 

Modelica.Blocks.Interaction.Show.IntegerValue 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

NameDescription
use_numberPort= true, if numberPort enabled
numberNumber to visualize if use_numberPort=false (time varying)

Connectors

NameDescription
numberPortNumber to be shown in diagram layer if use_numberPort = true
showNumber 

Modelica.Blocks.Interaction.Show.BooleanValue 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

NameDescription
use_activePort= true, if activePort enabled
activeBoolean variable to visualize if use_activePort=false (time varying)

Connectors

NameDescription
activePortBoolean variable to be shown in diagram layer if use_activePort = true
showActive 
Automatically generated Tue Apr 05 09:36:11 2016.