|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Where does the FRC Dashboard store data
Does anyone know where the LabView FRC Dashboard panel application (C:\Program Files (x86)\FRC Dashboard\Dashboard.exe) stores its data?
The data I'm trying to track down are the names of the buttons, indicator lights and string fields on the "Basic" tab. (I realise that some of the variables can be set from the robot code and while I have managed to do that from a C++ example I'd really like to see where the values are being stored) |
|
#2
|
||||
|
||||
|
Re: Where does the FRC Dashboard store data
Try C:\Users\Public\Documents\FRC
Otherwise use Process Monitor and find it ![]() |
|
#3
|
|||
|
|||
|
Re: Where does the FRC Dashboard store data
Already tried both those
and a few more directories as well.There are a few TCP sockets being used so it looks to me like the settings could be persisted using some kind of database or web service. I know next to nothing about LabView though so don't know where to start looking . |
|
#4
|
|||
|
|||
|
Re: Where does the FRC Dashboard store data
For anyone else looking for this the settings are persisted on the roboRio in /home/lvuser/networktables.ini.
|
|
#5
|
||||
|
||||
|
Re: Where does the FRC Dashboard store data
Oh, you meant parameters. Yes, those are stored there
|
|
#6
|
|||
|
|||
|
Re: Where does the FRC Dashboard store data
The camera settings are stored in public documents/FRC/DashboardSettings.ini.
Videos and NT log files, if you use the Record button for the dashboard, are stored in public documents/FRC/Log Files/Dashboard. The checklist tab gets its content from public documents/FRC/Checklist.txt And as noted already, the persisted variables are on the robot, which is the server. This tends to help with race conditions when things boot up. The Basic tab buttons and such, have names that you can change to be more robot-specific. Those are set in Network Tables, such as in robot Begin. Greg McKaskle |
|
#7
|
|||
|
|||
|
Re: Where does the FRC Dashboard store data
Quote:
According to the C++ programming guide for the dashboard it's not possible to set the chooser options or button names due to not being able to send arrays in the wpilib Network Tables implementation. What I'm trying to do is find the easiest way of being able to choose between autonomous modes and execute test commands on a C++ robot. I'm hoping to avoid the overhead of a custom SmartDashboard as I know I'll end up spending more time that I should getting the user interface right. The LabView dashboard already has everything I'm after at this point I'm just not able to set the options. |
|
#8
|
|||
|
|||
|
Re: Where does the FRC Dashboard store data
I suspect that documentation is old. Sorry, but I'm not up on the specifics of the other the other languages.
http://first.wpi.edu/FRC/roborio/sta...workTable.html look like arrays are supported, at least now the are. But to answer your original question. Sure. The NT persistent file for LV uses the following formats. I believe that C++ uses a different format, but it may be close enough to give you a head start. All of the LV variables are stored using two parallel sections. One stores the Types and the other the Values. A final section stores the version for the entire file, which is currently 3.0 Booleans: True or False Numerics: %g formatted Strings: no formatting changes Raw: Base64 Boolean Array: "True", "False", etc. Numeric Array: "3.14", "2.71", etc. String Arrays are a bit tricky, as embedded quotes would be a problem. So \xx codes are used for certain characters. All of the LV FRC stuff ships source, but again, I suspect that C++ uses a different file format. It isn't really expected that the persist file is used across languages. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|