Skip to content
Snippets Groups Projects
Commit ba9f1795 authored by Marko Mecina's avatar Marko Mecina
Browse files

Communication module: fix return format of generic processing function

parent a0504cff
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,7 @@ class Receiver:
continue
except Exception as err:
print('Processing error:', err)
break
self._isrunning = False
print('Processing stopped')
self.proc_data_fd.close()
......@@ -327,4 +327,4 @@ def proc_func_generic(data, ts=None):
else:
ts = '{:.6f}'.format(ts)
return [(ts, str(data))]
return [ts, str(data)]
......@@ -19,7 +19,7 @@ econ.send(iwf.Command.set_psu_ok_signal(1,1), rx=False) # set IWF_EGSE_PSU_OK =
econ.send(iwf.Command.set_psu_ok_signal(3,1), rx=False) # set IWF_EGSE_RSE_OK = 1
econ.send(iwf.Command.set_psu_ok_signal(4,1), rx=False) # set IWF_EGSE_PIN_PULL_OK = 1
econ.send(iwf.Command.set_rsm_end_switch(1,1), rx=False) # set IWF_EGSE_CLOSE_POS = 1; response 'R7' -> only for EBOX
econ.send(iwf.Command.set_psu_analogue_value(iwf.Signal.EGSE_I_HEATER, 0), rx=False) # set IWF_EGSE_I_HEATER
econ.send(iwf.Command.set_psu_analogue_value(iwf.Signal.EGSE_I_HEATER, 2000), rx=False) # set IWF_EGSE_I_HEATER
econ.send(iwf.Command.set_pwm(2, 1663), rx=False) # set CCD Thermistor
econ.send(iwf.Command.inject_errors(6,0,3,0,11,0), rx=False) # inject RSE error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment