View Single Post
  #2   Spotlight this post!  
Unread 27-01-2012, 11:10
dkearle's Avatar
dkearle dkearle is offline
Dianne
FRC #1280 (Ragin' C-Biscuits)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: San Ramon, CA
Posts: 14
dkearle is an unknown quantity at this point
Re: Data sent from the SmartDashboard to the cRio

Quote:
Originally Posted by Hjelstrom View Post
Thats strange, I'm looking at the WPILib C++ source in FirstForge and I don't see a GetData function call anywhere in SmartDashboard or its parent classes.
For documentation I've been using the "C++ HTML Help file reference document" available on FirstForge. This has been incredibly useful. If you haven't already, I highly encourage you to download it - http://firstforge.wpi.edu/sf/go/doc1198?nav=1

After you download, open this help file, select "Contents", "Class List" and then scroll down to the SmartDashboard class. Select this and then scroll down the documentation on the SmartDashboard to the list of "Public Member Functions". GetData() is the third function listed.

I just looked in the SmartDashboard.h file on my computer. It is what was provided when I reinstalled the development environment this year. Here is what it contains: "SmartDashboardData* GetData(const char *keyName);"