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.

Empty No Empty
Column Type Description Required Empty Allowed Default Value
SUB_SYSTEM StringThe subsystem. May be empty. Ex: CDH Yes YesEmpty String
NAMEString The mnemonic's name. Ex: PowerSupplyCurrent Yes No
DESCRIPTIONString The mnemonic's description Yes YesEmpty String
ADC_#Integer The ADC channel No 0Yes 0
DATA_IDInteger The unique ID Yes RequriedNo
PACKET_TYPE IntegerThe packet type or CCSDS Application ID Yes No
PACKET_SUBTYPE IntegerPacket subtype No Yes 0
PACKET_NAME StringThe name of the packet the mnemonic belongs to No Yes String
APPLY_WHEN StringApply when condition of the format: HKID=RANGE. No Yes apply when conditions
DECODE_TYPE IntegerThe decoder type Yes No
DECODE_ID1 IntegerDecode ID 1 Yes No
DECODE_ID2 IntegerDecode ID 2 Yes No
DECODE_ID3 IntegerDecode ID 3 Yes No
DECODE_ID4 IntegerDecode ID 4 Yes No
CLOCK StringThe clock's name No Yes String
RAW_FMT StringThe raw format Yes No
ENG_FMT String Yes
ENG_EQ_TYPE Integer Yes
ENG_K1 Double Yes
ENG_K2 Double Yes
SCI_UNITS String Yes
SCI_FMT String Yes
SCI_EQ_TYPE Integer Yes
SCI_FROM_ENG bool Yes
SCI_K1 Double Yes
SCI_K2 Double Yes
SCI_K3 Double Yes
SCI_K4 Double Yes
SCI_K5 Double Yes
SCI_K6 Double Yes
SCI_K7 Double Yes
SCI_K8 Double Yes
MUX_CH Integer No
LIMIT_TYPE_1 Integer No
YELLOW_LIMIT_1 Double No
RED_LIMIT_1 Double No
LIMIT_TYPE_2 Integer No
YELLOW_LIMIT_2 Double No
RED_LIMIT_2 Double No
LIMITS JSON No
EXTRA_1 String No
XINA_MINE_TYPE Integer No
XINA_MINE_RAW bool No
XINA_MINE_ENG bool No
DISCRETE_LABELS String No
BUNDLE_ID Integer No