OpenC3/cosmos

View on GitHub
openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST/screens/array.txt

Summary

Maintainability
Test Coverage
SCREEN AUTO AUTO 1.0

VERTICAL
  TITLE "<%= target_name %> Instrument Array Data"
  ARRAY <%= target_name %> HEALTH_STATUS ARY
  LABELVALUE <%= target_name %> HEALTH_STATUS ARY[0] RAW
  LABELVALUE <%= target_name %> HEALTH_STATUS ARY[1] WITH_UNITS
  # This item is actually called BRACKET[0] as the name
  # thus we have to escape the value here to avoid it
  # being treated like an array item
  LABELVALUE <%= target_name %> HEALTH_STATUS BRACKET[[0]]
  LABELSPARKLINE <%= target_name %> HEALTH_STATUS ARY[1]
    SETTING HISTORY 60s
  LABELSPARKLINE <%= target_name %> HEALTH_STATUS BRACKET[[0]]
    SETTING HISTORY 60s
  ARRAY <%= target_name %> HEALTH_STATUS ARY 300 65 nil 8 FORMATTED
  ARRAY <%= target_name %> HEALTH_STATUS ARY2 300 65 nil 5 WITH_UNITS
  TEXTBOX <%= target_name %> HEALTH_STATUS ARY 200 65
  TEXTBOX <%= target_name %> HEALTH_STATUS ARY2 300 65
  ARRAY <%= target_name %> HEALTH_STATUS GROUND1STATUS 300 65 nil 8 FORMATTED
  ARRAY <%= target_name %> HEALTH_STATUS GROUND2STATUS 300 65 nil 5 WITH_UNITS
END