Log in

View Full Version : Messages in FRC Dashboard


LFRobotics
15-02-2014, 19:37
I have a command that I need to know when it is done. I know how to put some data to tell me if its done in smart dashboard but how do I put a display to tell me if its done in the FRC Dashboard?

ANY help WILL be greatly appreciated! THANKS!

otherguy
16-02-2014, 13:30
When you say FRC Dashboard, I'm assuming you're referring to the default LabVIEW dashboard?

You can customize it. I'm personally not familiar with it though. There's should be resources detailing how to customize it if you search around the interwebs. like: http://forums.usfirst.org/showthread.php?11892-LabVIEW-Video-Tutorial-Customizing-The-FRC-Dashboard-To-See-Your-Data

If you can deal with a textual message in the driver station (not dashboard), take a look at using the DriverStationLCD (http://team2168.org/javadoc/edu/wpi/first/wpilibj/DriverStationLCD.html) class.

dc74089
24-02-2014, 08:47
If I'm understanding your question correctly, use the DriverStationLCD class @otherguy linked to. The constructor (although it really isn't one) for a DriverStationLCD took us a while to figure out last season, while in hindsight it was pretty obvious. If you're running into problems, here's some example code.


DriverStationLCD lcd = DriverStationLCD.getInstance();

lcd.println(kUser1, 1, "Hello World!");
lcd.updateLCD();