Go to Post Sleep... what is this sleep you speak of? - Choi9111 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2012, 10:51
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 146
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
Re: Data sent from the SmartDashboard to the cRio

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.
  #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);"
  #3   Spotlight this post!  
Unread 27-01-2012, 11:20
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 146
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
Re: Data sent from the SmartDashboard to the cRio

Oh, there is a lot of stuff in there that I don't see in the code I downloaded from FirstForge. Yes it looks like everything we need is there. Thanks!

I was trying to do some research from home where I don't have the development environment. I thought the code in FirstForge would be the latest but it apparently isn't.

Here is where I was looking:
http://firstforge.wpi.edu/sf/scm/do/...cts.wpilib/scm
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi