View Single Post
  #1   Spotlight this post!  
Unread 23-10-2014, 18:36
peterl peterl is offline
Registered User
AKA: Peter Laser
FRC #1592 (Bionic Tigers)
 
Join Date: Oct 2014
Rookie Year: 2013
Location: United States
Posts: 16
peterl is an unknown quantity at this point
Question Network Tables in java, for LABview Dashboard

Hi All,
I am currently trying to use LABview's Dashboard, with the robot which is running java code. We are trying to get the gyroscope on the robot, to be read be LABview, and show/present that output to the gauge.
I found this link:
http://wpilib.screenstepslive.com/s/...client-pc-side
And we followed it for the java part.
For the LABview part, which is basically telling labview to look at the network tables, and take the number (which is given as a double), and use it in the gauge. When we run the program, the info is used in the "variables" tab on the dashboard, all the way at the bottom, under "datatable". What we are looking at is "angle". The number under "angle" does respond when we rotate the gyroscope, but the gauge will not react. I am completely new to this, so any suggestions and help are welcome.
Thanks in advance.

Below are our java (PeterHelloW.zip), and LABview(2014 Dashboard Project.zip) files.
Attached Files
File Type: zip PeterHelloW.zip (8.5 KB, 16 views)
File Type: zip 2014 Dashboard Project.zip (446.3 KB, 27 views)

Last edited by peterl : 23-10-2014 at 19:54. Reason: 6:37:Added note about attached files,7:54: edited grammer