![]() |
LabVIEW Dashboard Interfacing With Java Code
I was recently asked the following question via PM, but I thought the answers might be helpful for other people, and so that other more experienced people could chime in.
Quote:
Additionally, the Variables tab shows all Smartdashboard variables in a tree format. Quote:
Last year, we used a nicely configured LabVIEW dashboard with large indicators and controls that the drivers could use. When the programmers wanted to debug something, we would bring up the java smartdashboard, because it was more convenient to send and receive arbitrary variables. You can even have both of them running at the same time. |
Re: LabVIEW Dashboard Interfacing With Java Code
Yeah, we are trying to do that this year, since we switched our robot code from Labview to Java. We keep running into "Table Key not found" errors (basically not finding the values on the Dashboard and saying "Output not updated often enough"). I tried both Networktables and SmartDashboard, and was wondering how you set up the VI and .java file?
|
Re: LabVIEW Dashboard Interfacing With Java Code
Quote:
Code:
yourRobotDriveObject.setSafetyEnabled(false); |
Re: LabVIEW Dashboard Interfacing With Java Code
The LV dashboard defaults to binding a control or indicator named XXX to the variable named /SmartDashboard/XXX.
This should match the other dashboards. Please let me know if you find out differently. Greg McKaskle |
Re: LabVIEW Dashboard Interfacing With Java Code
Quote:
Quote:
|
| All times are GMT -5. The time now is 02:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi