Go to Post Long Live FIRST! - IndySam [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #1   Spotlight this post!  
Unread 18-02-2013, 19:18
rsaccone rsaccone is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: Glen Head, NY
Posts: 23
rsaccone is an unknown quantity at this point
NetworkTable issues...

Hello,

We are attempting to use the NetworkTable components to communicate data between our Robot and a Java program running on a laptop. However we are running into an issue where some of the values that we are trying to query from the Java program running on the laptop cause an exception to be thrown. It is a NullReferenceException that seems to be coming from the Reader when try to call table.getValue() or table.getNumber(). At the point that we are reading the value it has been written from the Robot side. We're using the SmartDashboard as the table. We are interested in moving to a table of our name but we are unsure of what is involved in setting that up. Additionally, I noticed in some examples in other posting on this forum that people have used the beginTransaction method on the NetworkTable object. However, in the Java libraries we have there doesn't seem to be such a method. I've checked for updates but didn't find any. Is it possible what we're running is out of date?

Thanks,
Rob
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 11:42.

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