-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notes on SCOS Database Tables #8
Comments
Can we have a SQL dump of SCOS database included in source files somewhere? Like a scos_dump.sql or something. |
I think I should have asked in a better way. I will try once more :) |
I need clarification on this. |
The naming of the SCOS databases is unfortunately often confusing ... (but it has historical reasons and is now so widely used that it is impossible to change if). In the specific case you mention, your assumptions are correct:
|
I made a script which converts all the tables into a single JSON object, where parameters are embeded as arrays to their respective telecommands or telemetry reports. You can preview the result here (not required, just in case if you spot anything wrong there): I've omitted all column prefixes |
I have a look at the json file and I did not see anything wrong with it. |
The FCP Editor has a link to a SCOS database. This link has already been implemented in the "auto-completion" feature of the FW Profile Editor. The SCOS database describes the "telecommands" (TC) and "telemetry reports" (TMs) which are manipulated by the FCP. Both telecommands and telemetry reports consists of sequence of "parameters". Some parameters are of numerical type (their value is a number); others are of enumerated type (their value is an enumerated value expressed as an alphanumeric string).
In this ticket, I give some background information on some of the tables of the SCOS Database. Only information which is relevant to the FCP Editor is provided here. This ticket does not require any action: it only serves as reference.
PID Table
This table describes TM reports in terms of:
PCF Table
A TM Report carries one or more parameters. This table defines the parameters of a TM Report in terms of:
PLF Table
This table describes the allocation of TM parameters to the TM reports: it lists the PCF_NAMEs of the TM parameters and gives the SPIDs of the packets to which they belong. Note that a TM Parameter may belong to multiple TM Reports.
TXP Table
Some TM parameters are of enumerated type (see CURTX field in PCF table). This table defines their enumerated types in terms of:
CCF Table
This table describes a TC in terms of:
CDF Table
A TC may carry one or more parameters. This table describes the parameters in a TC in terms of:
CPC Table
This table describes a TC parameter in terms of
PAS Table
Some TC parameters are of enumerated type (see PAFREF field in CPC table). This table defines their enumerated types in terms of:
The text was updated successfully, but these errors were encountered: