View Single Post
  #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