Go to Post Inspire others first, win second. - Alpha Beta [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2012, 13:12
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
SmartDashboard Startup

Two SmartDashboard questions:

1) When I start the FRC Driver Station, the SmartDashboard automatically starts up without window decoration (titlebar, close button, etc). Can I change this behavior to include the window decoration? I believe it's starting up from Program Files/FRC Dashboard/Dashboard.exe. Double clicking on the SmartDashboard jar file includes the decorations and works fine.

2) What is triggering the SmartDashboard to start up with the FRC Driver Station?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2012, 14:12
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: SmartDashboard Startup

Figured out question #2...

In the file 'Documents\FRC\FRC DS Data Storage.ini' there is an entry

DashboardCmdLine = ""C:\\Program Files (x86)\\FRC Dashboard\\Dashboard.exe""

You can change this to use the NIDashboard or the SmartDashboard (Dashboard.exe).
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2012, 14:34
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: SmartDashboard Startup

Figured out question #1...

In the file 'C:\Program Files\FRC Dashboard\Launcher.bat' there is a statement that launches the SmartDashboard executable jar file:

cd "C:\Program Files\SmartDashboard"
java -jar SmartDashboard.jar competition

Remove 'competition' and the window decorations will show up.

This was a bit twisted because I have a 64-bit machine and the files are stored in several places. So here are the steps as far as I can tell:

1) run FRC Driver Station
2) it loads 'Documents\FRC\FRC DS Data Storage.ini'
3) which has a property called DashboardCmdLine to tell it what dashboard exe to run
4) if you have installed SmartDashboard it will be set to 'Program Files/FRC Dashboard/Dashboard.exe'
5) which calls 'Launcher.bat' to light off the SmartDashboard.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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