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”:


-fx c:\	est.fxsdash


-fx:c:\	est.fxsdash

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

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

Thanks, Patrick. I’ll take a look!

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.

Never mind. Found it. It’s just:

java -jar sfx.jar <filename>

My “FRC DS Data Storage.ini” entry of:


DashboardCmdLine = "java -jar C:\\Users\\jousley\\sunspotfrcsdk\	ools\\sfx\\sfx.jar c:\	est.fxsdash"

works just fine. Thanks for your help!