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) loading config files (http://www.chiefdelphi.com/forums/showthread.php?t=125344)

pr0ph3t 27-01-2014 19:30

SFX (SmartDashboard 2.0) loading config files
 
We're trying to use SmartDashboard 2.0 (sfx). So far so good. We've gotten it to load with the DriveStation just fine (although we had to be sure 32bit Java was installed and handling .jar files).

We're having trouble figuring out how to properly load a previously saved configuration (.fxsdash) file. Is the command line option -fx? We've tried adding both of these to the end of the command in "FRC DS Data Storage.ini":

Code:

-fx c:\\test.fxsdash
Code:

-fx:c:\\test.fxsdash
Has anyone figured out how to automatically load .fxsdash files?

byteit101 27-01-2014 22:34

Re: SFX (SmartDashboard 2.0) loading config files
 
Quote:

Originally Posted by pr0ph3t (Post 1333358)
Has anyone figured out how to automatically load .fxsdash files?

You write a script to click the "open button" and then browse to the file [/snark]

This is the most requested feature so far and will be implemented as a single param

pr0ph3t 27-01-2014 22:44

Re: SFX (SmartDashboard 2.0) loading config files
 
Thanks for the response! Do you have any idea when it will be available?

byteit101 27-01-2014 23:01

Re: SFX (SmartDashboard 2.0) loading config files
 
Quote:

Originally Posted by pr0ph3t (Post 1333472)
Thanks for the response! Do you have any idea when it will be available?

Probbably when I can figure out how to type ARGV instead of ARGS.

Its should be building on Jenkins soon: http://frcbuilder.wpi.edu:8190/job/Smartdashboard2/ (build #62, grab the zip file when #62 is done)

Pedantic PS: they are called save files or documents or dashboards, not config files, which implies global SFX settings

pr0ph3t 27-01-2014 23:55

Re: SFX (SmartDashboard 2.0) loading config files
 
Thanks, Patrick. I'll take a look!

pr0ph3t 28-01-2014 10:38

Re: SFX (SmartDashboard 2.0) loading config files
 
Hi Patrick, I downloaded the latest zip. Is the cli option -fx ? I'm not familiar enough with the source code to have spotted it yet. I'll look further later on.

pr0ph3t 28-01-2014 10:49

Re: SFX (SmartDashboard 2.0) loading config files
 
Never mind. Found it. It's just:

java -jar sfx.jar <filename>

My "FRC DS Data Storage.ini" entry of:

Code:

DashboardCmdLine = "java -jar C:\\Users\\jousley\\sunspotfrcsdk\\tools\\sfx\\sfx.jar c:\\test.fxsdash"
works just fine. Thanks for your help!


All times are GMT -5. The time now is 11:00.

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