Log in

View Full Version : Java Robot Code with labVIEW Dashboard


jjeter
15-03-2016, 17:06
Hello all,
My team has always used labVIEW for robot code. However, I am looking into using Java this next year for the robot. However, I would like to keep using the labVIEW dashboard due to its ease of use. Does anyone know if it is possible to make this work? If so, How?
Thank you in advance

Alan Anderson
16-03-2016, 01:16
It should work fine. The Dashboard uses the Network Tables communication framework, which has implementations in all of the supported languages.

jjeter
16-03-2016, 10:12
How would one retrieve the variable? In labVIEW one would use Read Dashboard Variable, but what would one use for Java?

lethc
16-03-2016, 17:23
How would one retrieve the variable? In labVIEW one would use Read Dashboard Variable, but what would one use for Java?

SmartDashboard.getNumber, SmartDashboard.getBoolean.... etc