View Single Post
  #4   Spotlight this post!  
Unread Today, 13:34
jcbaker4050's Avatar
jcbaker4050 jcbaker4050 is offline
Registered User
AKA: John Baker
FRC #4050 (Biohazard)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2016
Location: Waynesboro, PA
Posts: 5
jcbaker4050 is an unknown quantity at this point
Re: Creating a custom NetworkTable?

Quote:
Originally Posted by SamCarlberg View Post
Networktables.getTable() will create a new table with that name if it doesn't already exist. Ditto for getSubtable()
That smacking sound that you just heard was me face-palming myself. We spent hours reading literally dozens of articles and threads trying to figure this out, and not once did anywhere ever mention getTable() creating tables. Thanks, Sam, for cluing us in.

Thanks to a post in another thread (https://www.chiefdelphi.com/forums/s...17#post1524417) I also figured out that I didn't have the "Windows/amd64" ntcore library in my NetworkTables.jar. (I'm currently working on my Win7 laptop.) I got that resolved.

I now can successfully write to a NetworkTable and see the new tables and values in Outline Viewer.

This just made my week! Thank you!
Reply With Quote