Thread: C++ dashboard
View Single Post
  #2   Spotlight this post!  
Unread 05-01-2015, 09:51
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: C++ dashboard

For C++ and Java, we support easy sending of data to the SmartDashboard via NetworkTables. You can find information about how use the SmartDashboard here: http://wpilib.screenstepslive.com/s/...-robot-program. Note that while many of the examples are in Java, the same functions are available in the SmartDashboard class in C++. So where Java has
Code:
SmartDashboard.putString("name", "value");
C++ would have
Code:
SmartDashboard:: PutString("name", "value");

Last edited by fsilberberg : 05-01-2015 at 09:52. Reason: Put code blocks around the code sections