A version of MOOT (Modes Of Operation Tracking) and associated interfaces suitable for the initial use of Flight Software to do calibrations.
The database structure for the stripped-down MOOT will be as described in the relevant section of MOOT Report for 12 August (that is, the schema will be unchanged in the reduced version though for both reduced and full version, may want to dispense with History table), however MOOT will be limited in scope in two respects:
Some idea of the simplification can be seen by comparing diagrams of the complete model and the reduced one.
The end result will be some FSW binaries and several entries in MOOT's database: a top-level one in the Configs table, several in the FSW_inputs table, several in the Parameters table, and entries in auxiliary tables so that, given a Config id, one can trace it to the FSW_inputs and parameter files of which it is composed. In the stripped-down model FSW_inputs are in one-to-one correspondence with parameter files. A Config will be made up of 1 or more software configuration files (exactly which will be tracked TBD), up to 16 LATC-related files, including a LATC master, and, for calibration mode configurations, one LCI source file.
In order to ease the migration from Latte methods of settting registers to LATC, a utility is being written to translate a Latte xml file to the equivalent LATC file. It should be straightforward to implement another step to break up an arbitrary LATC file into the pieces (DFT, GEM, AEM and one for each additional LATC component with exceptional register settings) required for the stripped-down model. Assuming these pieces, as well as software configuration files and LCI file if applicable, are all available, steps are:
fmx add?
fmx add or other command to add the files to the
fmx Logicals table.
FMX is geared to handling code, not configuration.
It should be possible to use it for configuration as is, but
some adjustments would be welcome.
fmx upload of at least the LATC files (so that
file_ids will be assigned).fmx add and fmx upload for the master file.
Along the way, various other updates will have been made to MOOD to keep track of the state of these files.
Are there any changes to the above if the files are uploaded to RAM?
At some point before use, perhaps well before, need to do
fmx commit for all the files. Since this is so closely
tied to fmx upload it might be part of the previous procedure.
Is the request to use these binaries part of a run command, or an
independent request?
Sergio: It's part of start run.
What exactly does get specified at
start run?
logical_id = add(source file)where source file description is similar to that for existing add
file_id = upload(logical_id)
status = commit(file_id)
(or substitute physical_id for file_id, but then also include
easy way to get file_id from physical_id)
|
Initial draft: 24 September 2005 Last revised: |
J. Bogart | |