Number Display - Q-FRC/QDash GitHub Wiki
The number display displays a number in a large font without any editing ability.
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":
Configuration
- 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.