Skip to main content

Mnemonics Database

We store our mnemonic defintions within a flat tab delimited plain text format. The format has evolved over time to support required functionality.

The first row contains the header. The header defines the columns contents. The columns can be in any order.

Each row defines a single mnemonic and is uniquely identified by the DATA_ID. DATA_ID is also often refered to as Housekeeping ID or HKID for shorthand.

If required, the column must exist but row values may still be empty. Empty values will be default initialized.

Column Type Description Required Empty Allowed Default Value
SUB_SYSTEM The subsystem. May be empty. Ex: CDH Yes Empty String
NAME The mnemonic's name. Ex: PowerSupplyCurrent Yes
DESCRIPTION The mnemonic's description Yes Empty String
ADC_# The ADC channel No 0
DATA_ID The unique ID Yes Requried
PACKET_TYPE The packet type Yes
PACKET_SUBTYPE No
PACKET_NAME No
APPLY_WHEN No
DECODE_TYPE Yes
DECODE_ID1 Yes
DECODE_ID2 Yes
DECODE_ID3 Yes
DECODE_ID4 Yes
CLOCK No
RAW_FMT Yes
ENG_FMT Yes
ENG_EQ_TYPE Yes
ENG_K1 Yes
ENG_K2 Yes
SCI_UNITS Yes
SCI_FMT Yes
SCI_EQ_TYPE Yes
SCI_FROM_ENG Yes
SCI_K1 Yes
SCI_K2 Yes
SCI_K3 Yes
SCI_K4 Yes
SCI_K5 Yes
SCI_K6 Yes
SCI_K7 Yes
SCI_K8 Yes
MUX_CH No
LIMIT_TYPE_1 No
YELLOW_LIMIT_1 No
RED_LIMIT_1 No
LIMIT_TYPE_2 No
YELLOW_LIMIT_2 No
RED_LIMIT_2 No
LIMITS No
EXTRA_1 No
XINA_MINE_TYPE No
XINA_MINE_RAW No
XINA_MINE_ENG No
DISCRETE_LABELS No
BUNDLE_ID No