RealValueShow Real value from numberPort or from number input field in diagram layer dynamically |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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):
The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.RealNetwork1.
use_numberPort |
Value: true Type: Boolean Description: = true, if numberPort enabled |
---|---|
significantDigits |
Value: 2 Type: Integer Description: Number of significant digits to be shown |
number |
Default Value: 0.0 Type: Real Description: Number to visualize if use_numberPort=false (time varying) |
---|
numberPort |
Type: RealInput Description: Number to be shown in diagram layer if use_numberPort = true |
|
---|---|---|
showNumber |
Type: RealOutput |
Modelica.Blocks.Examples Demonstrates the usage of blocks from Modelica.Blocks.Math |
|
Modelica.Blocks.Examples Demonstrates the usage of blocks from Modelica.Blocks.Interaction.Show |
|
Modelica.StateGraph.Examples Example to demonstrate parallel and alternative execution paths |