diff options
-rw-r--r-- | flowgraphs/qpsk_hw.grc | 7 | ||||
-rwxr-xr-x | flowgraphs/qpsk_hw.py | 2 | ||||
-rw-r--r-- | src/gr-fadingui/python/logger.py | 2 | ||||
-rwxr-xr-x | src/gui/gui.py | 2 | ||||
-rw-r--r-- | src/gui/net.py | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/flowgraphs/qpsk_hw.grc b/flowgraphs/qpsk_hw.grc index a0d6872..1a3d562 100644 --- a/flowgraphs/qpsk_hw.grc +++ b/flowgraphs/qpsk_hw.grc @@ -415,6 +415,7 @@ blocks: - name: fadingui_ber_0 id: fadingui_ber parameters: + address: udp://localhost:31420 affinity: '' alias: '' comment: '' @@ -459,7 +460,7 @@ blocks: bus_structure: null coordinate: [704, 316.0] rotation: 0 - state: disabled + state: enabled - name: fadingui_netsink_1 id: fadingui_netsink parameters: @@ -491,7 +492,7 @@ blocks: bus_structure: null coordinate: [1280, 916.0] rotation: 0 - state: disabled + state: enabled - name: fadingui_netsink_4 id: fadingui_netsink parameters: @@ -507,7 +508,7 @@ blocks: bus_structure: null coordinate: [528, 916.0] rotation: 0 - state: disabled + state: enabled - name: fadingui_phasecorrection_0 id: fadingui_phasecorrection parameters: diff --git a/flowgraphs/qpsk_hw.py b/flowgraphs/qpsk_hw.py index 9db06a3..741f405 100755 --- a/flowgraphs/qpsk_hw.py +++ b/flowgraphs/qpsk_hw.py @@ -207,7 +207,7 @@ class qpsk_hw(gr.top_block, Qt.QWidget): self._qtgui_const_sink_x_0_0_win = sip.wrapinstance(self.qtgui_const_sink_x_0_0.pyqwidget(), Qt.QWidget) self.top_grid_layout.addWidget(self._qtgui_const_sink_x_0_0_win) self.fadingui_phasecorrection_0 = fadingui.phasecorrection(frame_len) - self.fadingui_ber_0 = fadingui.ber(vgl=testvec + list(np.zeros(4)), vlen=frame_len) + self.fadingui_ber_0 = fadingui.ber(vgl=testvec + list(np.zeros(4)), vlen=frame_len,address='udp://localhost:31420') self.digital_pfb_clock_sync_xxx_0 = digital.pfb_clock_sync_ccf(sps, 2 * np.pi / 100, rrc_taps, 32, 16, 1.5, 1) self.digital_lms_dd_equalizer_cc_0 = digital.lms_dd_equalizer_cc(15, 3e-3, 1, qpsk_const) self.digital_corr_est_cc_0 = digital.corr_est_cc(access_code_symbols, 1, len(access_code_symbols) // 2, 0.7, digital.THRESHOLD_ABSOLUTE) diff --git a/src/gr-fadingui/python/logger.py b/src/gr-fadingui/python/logger.py index a189aeb..a101b9e 100644 --- a/src/gr-fadingui/python/logger.py +++ b/src/gr-fadingui/python/logger.py @@ -10,5 +10,5 @@ def get_logger(module): log.addHandler(stdout_handler) stdout_handler.setFormatter(formatter) - log.setLevel(logging.DEBUG) + log.setLevel(logging.WARNING) return log diff --git a/src/gui/gui.py b/src/gui/gui.py index c0e4a9e..cc201a3 100755 --- a/src/gui/gui.py +++ b/src/gui/gui.py @@ -255,7 +255,7 @@ with window(label="Bit Error Rate ", width=800, height=320, pos=(0,825),\ add_theme_color(mvThemeCol_Text,(0,0,0)) #Schwarz add_theme_style(mvStyleVar_FrameRounding, 5) - add_button(label="BER", height=60, width=700, pos=(50,125),tag="ber_value") + add_button(label="BER", height=60, width=700, pos=(50,125), tag="ber_value") bind_item_theme(last_item(), "button_ber") bind_item_theme(ber_window, "ber_window") diff --git a/src/gui/net.py b/src/gui/net.py index 820bc84..f35c7f0 100644 --- a/src/gui/net.py +++ b/src/gui/net.py @@ -83,7 +83,7 @@ class network_value(udpsource): self.bind() def read(self): - return udpsource.read(self, 1) + return udpsource.read(self, 3) def refresh(self): self.value = self.read() |