View Single Post
  #8   Spotlight this post!  
Unread 21-08-2016, 08:49
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote