Log in

View Full Version : Print to DriverStation


cpapplefamily
13-01-2016, 21:54
The Message Tab section on HERE wpilib.screenstepslive (https://wpilib.screenstepslive.com/s/4485/m/24192/l/144976-frc-driver-station-powered-by-ni-labview) the Drivers Station Message box New for 2016 - This window will display prints from WPILib and User Code. I been milling through many OLD post on how to use the DriverstaionLCD class that seems not to exists since 2013? What I did find if I place a simple line of code in the program
System.out.println("Hello From the Rio"); //Print to RioLog this prints to the RioLog witch is grate for debugging. If you select the Option Icon On the Driver Station and check [+ Prints] these messages are displayed here to. Great to tell you drivers what is going on.

mynameistoe
22-01-2016, 17:37
thank you for this - very helpful!

m1tche11d
22-01-2016, 23:20
To add a bit of extra info, in C++:

std::cout << "Hello, World!" << endl;

also works. (At least for our drive station)