View Single Post
  #4   Spotlight this post!  
Unread 04-02-2013, 21:22
IDKnow IDKnow is offline
Registered User
FRC #1671
 
Join Date: Feb 2013
Location: California
Posts: 8
IDKnow is an unknown quantity at this point
Re: C++ Network Tables

Thanks guys! You're advice and a little trial and error provided me with the fix:

Putting this before the GetTable command keeps the code from crashing.
I haven't tested getting values yet though because I'm having issues with the SmartDashboard. Also, the put function causes a crash but this is progress! : )

Code:
		NetworkTable::SetIPAddress("10.16.71.20");//driverstation IP
		NetworkTable::SetClientMode();
		NetworkTable::SetTeam(1671);
		NetworkTable::Initialize();
Reply With Quote