View Full Version : Where to put dashboard project in classmate
CaptainKemp
08-03-2011, 08:09
Hey all,
I "inherited" the programming and electronics portion of my team this year with minimal knowledge of all the systems. I've gotten along fine until now.
This may be a silly question but where do I add my new dashboard project on the classmate and do I need to change some variable names to allow for my new dashboard to show up when I run the FRC Dashboard app.
Thanks,
The default dashboard.exe lives in c:\Program Files\FRC Dashboard\
You will want to rename it, and install your version there.
You may have to add code to your dashboard to see if another instance is already running, because the driver station starts two instances of the dashboard one after the other. This sometimes causes an issue.
Mark McLeod
08-03-2011, 10:33
Three methods,
1) If you're developing the dashboard on the same machine:
Go under Build Specifications
Right-click on FRC PC Dashboard
Select Properties
Change "Target filename" to "Dashboard.exe"
Change "Destination directory" to "C:\Program Files\FRC Dashboard"
Then when you build, your .exe will replace the existing Dashboard every time.2) If you're developing elsewhere then you can just copy the exe to the FRC Dashboard directory, like codedr suggested.
3) Change the Driver Station ini to point to your Dashboard.
In the file: C:\Documents and Settings\All Users\Shared Documents\FRC\FRC DS Data Storage.ini
Edit the line: DashboardCmdLine=""C:\\Program Files\\FRC Dashboard\\Dashboard.exe"" to point to your dashboard. (be sure to preserve the double slashes in the filename path).You can combine with method 1) above and give your Dashboard a custom name while having it build right where it's needed.
Greg McKaskle
08-03-2011, 20:56
I think most everything has already been answered, so I'll only comment on the multiple dashboard launch issue. This was reported last year, and I believe it was corrected in this year's DS. If you see it, please report it to FIRST.
Greg McKaskle
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.