Sha256: 17cc1b89cec2d056f3547294377c44942031489be1d24ee2ec53773caaeeec18
Contents?: true
Size: 595 Bytes
Versions: 1
Compression:
Stored size: 595 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("TGT DUMP with TABLE_ID #{table_id}, SEGMENT #{i}") # buffer += tlm("TGT DUMP_PKT DATA") # i += 1 # end put_target_file(os.getenv("TBL_FILENAME"), buffer)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openc3-cosmos-demo-5.15.0 | targets/INST2/tables/procedures/download.py |