gui: plot ld_pwr is zero if responsitivity not set
This commit is contained in:
parent
57bfd6d83c
commit
da50f372d9
|
@ -209,7 +209,12 @@ class Graphs:
|
|||
ts = report['ts']
|
||||
|
||||
self.ld_i_set_connector.cb_append_data_point(ld_i_set, ts)
|
||||
self.pd_mon_pwr_connector.cb_append_data_point(pd_pwr, ts)
|
||||
if pd_pwr is not None:
|
||||
self._pd_mon_pwr_plot.show()
|
||||
self.pd_mon_pwr_connector.cb_append_data_point(pd_pwr, ts)
|
||||
else:
|
||||
self._pd_mon_pwr_plot.hide()
|
||||
self.pd_mon_pwr_connector.cb_append_data_point(0.0, ts)
|
||||
|
||||
if tec_temp is not None:
|
||||
self.tec_temp_connector.cb_append_data_point(tec_temp, ts)
|
||||
|
|
Loading…
Reference in New Issue