My encoders let me drive straight to you.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 15:31.

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