Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Network Tables in java, for LABview Dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=130897)

peterl 23-10-2014 18:36

Network Tables in java, for LABview Dashboard
 
2 Attachment(s)
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.

Joe Ross 24-10-2014 01:58

Re: Network Tables in java, for LABview Dashboard
 
Add a slash before datatable in your LabVIEW block diagram (ie /datatable/angle).


All times are GMT -5. The time now is 02:43.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi