Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Where to put dashboard project in classmate (http://www.chiefdelphi.com/forums/showthread.php?t=93357)

CaptainKemp 08-03-2011 08:09

Where to put dashboard project in classmate
 
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,

codedr 08-03-2011 08:58

Re: Where to put dashboard project in classmate
 
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

Re: Where to put dashboard project in classmate
 
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

Re: Where to put dashboard project in classmate
 
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


All times are GMT -5. The time now is 09:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi