Sha256: 8e405d5adb4e11e132acf29be95649eaea2201128aa233d84ff0562d6e3cc42a

Contents?: true

Size: 589 Bytes

Versions: 14

Compression:

Stored size: 589 Bytes

Contents

import os

# TBL_FILENAME is set to the name of the table file to overwrite
print(f"file:{os.getenv('TBL_FILENAME')}")
# Download the file
# Implement custom commanding logic to download the table
# You probably want to do something like:
buffer = ""
# i = 1
# num_segments = 5 # calculate based on TBL_FILENAME
# table_id = 1  # calculate based on TBL_FILENAME
# while i < num_segments:
#   # Request a part of the table buffer
#   cmd(f"TGT DUMP with TABLE_ID {table_id}, SEGMENT {i}")
#   buffer += tlm("TGT DUMP_PKT DATA")
#   i += 1
put_target_file(os.getenv("TBL_FILENAME"), buffer)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
openc3-cosmos-demo-6.2.1 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-6.2.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-6.1.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-6.0.2 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-6.0.1 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-6.0.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.20.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.19.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.18.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.17.1 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.17.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.16.0 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.15.2 targets/INST2/tables/procedures/download.py
openc3-cosmos-demo-5.15.1 targets/INST2/tables/procedures/download.py