def cb_switchIQ_changed(self, widget, value):
     liboscimp_fpga.switch_send_conf("/dev/swichIQ".encode("utf-8"), 1)
     print("/dev/switchIQ", int(self.cb_switchIQ.get_value()))
     liboscimp_fpga.switch_send_conf("/dev/swichIQ".encode("utf-8"),
                                     int(self.cb_switchIQ.get_value()))
Esempio n. 2
0
 def sd_mux_pid_changed(self, widget, value):
     vals.mux_pid = value
     print("/dev/mux_pid", int(value))
     liboscimp_fpga.switch_send_conf("/dev/mux_pid", int(value))
     self.sb_mux_pid.set_value(int(value))
Esempio n. 3
0
 def sb_mux_out_ch2_changed(self, widget, value):
     vals.mux_out_ch2 = value
     print("/dev/mux_out_ch2", int(value))
     liboscimp_fpga.switch_send_conf("/dev/mux_out_ch2", int(value))
     self.sd_mux_out_ch2.set_value(int(value))
Esempio n. 4
0
 def sb_mux_filter_changed(self, widget, value):
     vals.mux_filter = value
     print("/dev/mux_filter", int(value))
     liboscimp_fpga.switch_send_conf("/dev/mux_filter", int(value))
     self.sd_mux_filter.set_value(int(value))