Go to Post And trust me, the very last thing you want to see is me with time on my hands and access to power tools. - dlavery [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 14-01-2014, 16:26
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
SFX (SmartDashboard 2.0) with Driver Station

Hi guys!

So I am trying to set up SFX to open on default with Driver Station, and I'm having troubles. I followed the steps on this site (http://wpilib.screenstepslive.com/s/...h-with-the-ds), and I also followed all of their troubleshooting options. SFX opens from both Windows Explorer and Command Prompt, so that's not the problem. The path is also correct. Is anyone else having trouble or success with this?

Thanks!

Katy
FRC Team Shazbots 1245
Project Manager
Head Programmer
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2014, 16:29
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: SFX (SmartDashboard 2.0) with Driver Station

http://www.chiefdelphi.com/forums/sh...d.php?t=124504

Same as us?
__________________
All opinions are my own.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2014, 21:54
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

No, we don't have this error. See my reply to that post for more details on that specific error.

For us, SFX opens just fine, just not with Driver Station.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2014, 23:44
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Can you post exactly what you have as the command to open the dashboard?
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2014, 23:57
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

In the FRC DS Data Storage.ini file, this is the line to do that...

Code:
DashboardCmdLine = "java -jar C:\\Users\\Shazbots\\sunspotfrcsdk\\tools\\sfx\\sfx.jar"
I have tried a few variations of that line, including single slashes and putting quotes around the C:\\... with both single and double dashes. None of those options work.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-01-2014, 00:04
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: SFX (SmartDashboard 2.0) with Driver Station

Could you try
Code:
DashboardCmdLine = "java -jar "C:\\Users\\Shazbots\\sunspotfrcsdk\\tools\\sfx\\sfx.jar""
Also make sure on the driver station that "default" dashboard is selected

Last edited by nickmcski : 15-01-2014 at 00:11.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-01-2014, 00:06
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

I'm pretty sure I already did, but I will try again tomorrow just to confirm it works or doesn't work. I'm home for the night without that computer so I'll let you know as soon as I can try (probably tomorrow morning).
Reply With Quote
  #8   Spotlight this post!  
Unread 15-01-2014, 00:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SFX (SmartDashboard 2.0) with Driver Station

I'm also unable to get SFX running from the driver station (but am able to run it from the command line). My command line is
Code:
DashboardCmdLine = ""java -jar C:\\Users\\Joe-XPS13-W7\\sunspotfrcsdk\\tools\\sfx\\sfx.jar""
I'm running Windows 7 64 bit with 64 bit java. I just updated java tonight, so I'm running 1.7.0_51
Reply With Quote
  #9   Spotlight this post!  
Unread 15-01-2014, 10:44
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: SFX (SmartDashboard 2.0) with Driver Station

It works correctly on my laptop and I followed the documentation exactly. When I get home I'll post my configuration file.
Reply With Quote
  #10   Spotlight this post!  
Unread 15-01-2014, 10:48
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

Quote:
Originally Posted by nickmcski View Post
Could you try
Code:
DashboardCmdLine = "java -jar "C:\\Users\\Shazbots\\sunspotfrcsdk\\tools\\sfx\\sfx.jar""
Also make sure on the driver station that "default" dashboard is selected
Didn't work.... The "default" dashboard is selected, and I have tried various things like double clicking it and switching between the other options before going back to it.


Quote:
Originally Posted by Joe Ross View Post
I'm also unable to get SFX running from the driver station (but am able to run it from the command line). My command line is
Code:
DashboardCmdLine = ""java -jar C:\\Users\\Joe-XPS13-W7\\sunspotfrcsdk\\tools\\sfx\\sfx.jar""
I'm running Windows 7 64 bit with 64 bit java. I just updated java tonight, so I'm running 1.7.0_51
I'm also running Windows 7 64. There are three Java updates/JDKs I have installed:

Java 7 Update 45 (64-bit)
Java SE Development Kit 7 Update 45 (64-bit)
Java(TM) 6 Update 24

I know SFX should only run with Java 7, and it will run on my computer.
Reply With Quote
  #11   Spotlight this post!  
Unread 15-01-2014, 10:50
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

I guess it's also worth noting that last year we got the first version of SmartDashboard working, so we have been able to successfully edit the settings document so it changes accordingly. I haven't tried that again this year.
Reply With Quote
  #12   Spotlight this post!  
Unread 15-01-2014, 11:16
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Also make sure you are editing the config file when the driver station is closed other wise it will overwrite it when it closes.
Reply With Quote
  #13   Spotlight this post!  
Unread 15-01-2014, 16:09
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

Quote:
Originally Posted by nickmcski View Post
Also make sure you are editing the config file when the driver station is closed other wise it will overwrite it when it closes.
Yep, I have been doing that.
Reply With Quote
  #14   Spotlight this post!  
Unread 15-01-2014, 16:16
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SFX (SmartDashboard 2.0) with Driver Station

Have you (meaning anyone who has it working) integrated it into your code? The code I have currently doesn't use SmartDashboard, so I'm wondering if maybe you need to be using it for it to come up?
Reply With Quote
  #15   Spotlight this post!  
Unread 15-01-2014, 16:37
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: SFX (SmartDashboard 2.0) with Driver Station

Quote:
Originally Posted by ktrobotcreator View Post
Have you (meaning anyone who has it working) integrated it into your code? The code I have currently doesn't use SmartDashboard, so I'm wondering if maybe you need to be using it for it to come up?
(sfx dev here) Shouldn't be necessary. Do you have multiple JVM's on your system by any chance?
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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 13:05.

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