foxsi / GSE-FOXSI-4

GSE for calibration and flight operation of FOXSI-4
Other
0 stars 1 forks source link

Add backend Formatter command interface #4

Closed thanasipantazides closed 1 year ago

thanasipantazides commented 1 year ago

What's needed

User commands entered via the GUI need to be passed to the Formatter. There is a parameters.py file to list the commands, but they need to be encoded before sending over UDP. Experiment systems are also listed in parameters.py and should be encoded as well, then prepended to the encoded command string.

Also, there should be some encapsulation to ensure commands are routed only to relevant systems (e.g. no HV_SET command to HOUSEKEEPING). Maybe this interface should be exposed to the GUI-side. The interface class could also handle encoding of command strings.

To do: