Sha256: 978ee26f4e60c79f11eee768272cb62c1561bc8a738753e154b240345955f15b

Contents?: true

Size: 798 Bytes

Versions: 11

Compression:

Stored size: 798 Bytes

Contents

# Instrument code to display line-by-line in Script Runner
load_utility("<%= target_name %>/procedures/utilities/collect.py")
load_utility("<%= target_name %>/procedures/utilities/clear.py")
# Load a target file library (not instrumented)
from INST2.lib.helper import Helper

helper = Helper()
helper.help()

number = ask("Enter a number.")
if not isinstance(number, (int, float)):
    raise RuntimeError("Bad return")
number = ask_string("Enter a number.")
if not type(number) == str:
    raise RuntimeError("Bad return")

result = message_box("Click something.", "CHOICE1", "CHOICE2")

prompt("Press Ok to start NORMAL Collect")
collect("NORMAL", 1)
prompt("Press Ok to start SPECIAL Collect")
collect("SPECIAL", 2, True)
clear()

wait_check("<%= target_name %> HEALTH_STATUS COLLECTS == 0", 10)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
openc3-cosmos-demo-5.17.1 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.17.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.16.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.15.2 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.15.1 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.15.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.14.2 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.14.1 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.14.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.13.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.12.0 targets/INST2/procedures/collect.py