![]() |
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 |
Re: SFX (SmartDashboard 2.0) with Driver Station
|
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. |
Can you post exactly what you have as the command to open the dashboard?
|
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" |
Re: SFX (SmartDashboard 2.0) with Driver Station
Could you try
Code:
DashboardCmdLine = "java -jar "C:\\Users\\Shazbots\\sunspotfrcsdk\\tools\\sfx\\sfx.jar"" |
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).
|
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"" |
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.
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
Quote:
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. |
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.
|
Also make sure you are editing the config file when the driver station is closed other wise it will overwrite it when it closes.
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
|
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?
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
Java 7 Update 45 (64-bit) Java SE Development Kit 7 Update 45 (64-bit) Java(TM) 6 Update 24 I believe they were just recently downloaded with Netbeans 7.4, though I was not the one to set it up. There shouldn't be anything hidden. We recently reset the computer to factory default settings so there shouldn't be any weird software from a long time ago installed that I'm forgetting about. Also, I just tried referencing SmartDashboard and running that code, and it didn't make a difference. |
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Well I went ahead and did it and it works! SFX now opens with Driver Station!
Note to the developer: maybe add that to the documentation? And thanks to all the help! |
Re: SFX (SmartDashboard 2.0) with Driver Station
So you uninstalled Java 6 correct? odd that there is no error message...
|
Re: SFX (SmartDashboard 2.0) with Driver Station
Quote:
|
Re: SFX (SmartDashboard 2.0) with Driver Station
This works for me:
Putting this line into the FRC DS Data Storage.ini works for me - I have to switch to Java then back to default to launch it. Also it takes a second for it to show up. DashboardCmdLine = "C:\\apps\\jdk1.7.0_51\\bin\\java.exe -jar c:\\SFX\\sfx.jar" Things to know: 1: I installed java to the directory above so modify accordingly 2: I copied sfx.jar and plugins to a new directory called SFX right off the root of the C: drive. |
| All times are GMT -5. The time now is 12:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi