Sinks

NumericDisplay Block

Advanced numeric display with formatting

Open NumericDisplay in BlockWerk →

# Numeric Display Block

Description

The NumericDisplay block provides a digital LCD-style readout for displaying numeric values from your simulation in real-time. It reads the input value and displays it with configurable decimal precision and optional min/max tracking.

This is a "sink" block, meaning it receives data but does not pass it on. Large numbers (>= 1e6) and small numbers (< 0.001) are automatically displayed in scientific notation. The text automatically scales to fit the block dimensions.

Mathematical Model

The block implements a simple identity mapping for display purposes:

displayed_value = input(t)

Where:

Parameters

precision

The number of decimal places to show for the main value. For example, a precision of 3 shows values like 42.543.

showMinMax

Enable minimum and maximum value tracking. When enabled, the smallest and largest values seen since the start of the simulation are displayed in small text below the main value.

Examples

Precision Tuning

Show a constant PI value with 3 decimals:

Constant (value: 3.14159) → NumericDisplay (precision: 3)

Signal Monitoring

Track the range of a sensor signal:

Sensor → NumericDisplay (showMinMax: true)

Remarks

See Also