Show String value from stringPort or from string input field in
diagram layer dynamically
This block visualizes a Real number in a diagram animation. The
number to be visualized can be defined in the following ways:
- If useNumberPort = true (which is the default), a Real
input is present and this input variable is shown.
- If useNumberPort = false no input connector is present.
Instead, a Real input field is activated in the parameter menu and
the Real expression from this input menu is shown.
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.
Developed 2014 at the DLR Institute of System Dynamics and
Control
Generated at 2026-04-15T18:18:36Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos