Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   SFX (SmartDashboard 2.0) with Driver Station (http://www.chiefdelphi.com/forums/showthread.php?t=124639)

ktrobotcreator 14-01-2014 16:26

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

joelg236 14-01-2014 16:29

Re: SFX (SmartDashboard 2.0) with Driver Station
 
http://www.chiefdelphi.com/forums/sh...d.php?t=124504

Same as us?

ktrobotcreator 14-01-2014 21:54

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.

nickmcski 14-01-2014 23:44

Can you post exactly what you have as the command to open the dashboard?

ktrobotcreator 14-01-2014 23:57

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.

nickmcski 15-01-2014 00:04

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

ktrobotcreator 15-01-2014 00:06

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).

Joe Ross 15-01-2014 00:27

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

eddie12390 15-01-2014 10:44

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.

ktrobotcreator 15-01-2014 10:48

Re: SFX (SmartDashboard 2.0) with Driver Station
 
Quote:

Originally Posted by nickmcski (Post 1327392)
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 (Post 1327408)
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.

ktrobotcreator 15-01-2014 10:50

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.

nickmcski 15-01-2014 11:16

Also make sure you are editing the config file when the driver station is closed other wise it will overwrite it when it closes.

ktrobotcreator 15-01-2014 16:09

Re: SFX (SmartDashboard 2.0) with Driver Station
 
Quote:

Originally Posted by nickmcski (Post 1327559)
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.

ktrobotcreator 15-01-2014 16:16

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?

byteit101 15-01-2014 16:37

Re: SFX (SmartDashboard 2.0) with Driver Station
 
Quote:

Originally Posted by ktrobotcreator (Post 1327700)
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?


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

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