Skip to content

Number Display

Carson Rueter edited this page Jan 27, 2025 · 1 revision

The number display displays a number in a large font without any editing ability.

image

Robot Code

To display a large number, send any number value to NetworkTables:

SmartDashboard.putNumber("Match Time", DriverStation.getMatchTime());

To get a number display, right-click a spin box, dial, gauge, or progress bar widget and select "Number Display":

image

Configuration

image

  • Title Font Size: The font size of the title text.
  • Max Font Size: The maximum font size of the displayed value. The widget will make the font as large as possible without exceeding this size or clipping the widget.
  • Number of Decimals: How many decimals to show on the number. Note that if using an Integer (using NetworkTableEntry), this option is unavailable.
  • Topic: What NetworkTables topic to use.
Clone this wiki locally