View Single Post
  #2   Spotlight this post!  
Unread 30-01-2013, 16:49
RoboRealm RoboRealm is offline
Registered User
FRC #0443
 
Join Date: Nov 2011
Location: United States
Posts: 36
RoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the roughRoboRealm is a jewel in the rough
Re: Roborealm variables to the cRio and on dashboard

First, check that you are using the most recent version of RR as there are lots of updates.

Check also using the Watch Variable modules that you see something like

/SmartDashboard/Distance

If you don't edit the VBScript module and change

SetVariable "Distance" ...

to

SetVariable "/SmartDashboard/Distance" ...

(the dots represent whatever the rest of the line is.

Then add the NetworkTAbles module and select that distance variable. Set the IP address and then wait a bit for it to connect.

You can also run the TableViewer.jar which should then show the Distance variable in it ... same with SmartDashboard. Its a good way to ensure that the variable is being transmitted.

Now you can check your CRio code ... please post if you still don't get that value.

STeven.