Sha256: d1fd7ab35cba65ff1d56a1a38b9cc8328cc960e37dfd091e7ede1188421be75f

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

Stored size: 802 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 isinstance(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

3 entries across 3 versions & 1 rubygems

Version Path
openc3-cosmos-demo-5.20.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.19.0 targets/INST2/procedures/collect.py
openc3-cosmos-demo-5.18.0 targets/INST2/procedures/collect.py