View Single Post
  #6   Spotlight this post!  
Unread 24-01-2016, 10:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Transferring data from RoboRealm to LabVIEW

That understanding is close, but let me adjust it.

Network tables is a shared table of named values. The REAL values exist on the robot, which is called the server. Other code, on the dashboard, in RoboRealm, on other coprocessor cards, etc. can act as clients and can use the network table functions to read and write to those values.

The clients and server constantly send messages to each other to get in synch. You can read the documentation if you have curiosity about how it works, and of course you have the code, but it is a bit complicated. For most situations, you can simply trust that as long as your client is connected, that it has the same values as everyone else and can change any value at anytime and the others will get is almost instantly.

Greg McKaskle
Reply With Quote