aboutsummaryrefslogtreecommitdiffstats
path: root/flowgraphs
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-12-13 17:20:17 +0100
committersara <sara.halter@gmx.ch>2021-12-13 17:20:17 +0100
commit0f93582b8938e82fb82d826dd4ced119fe2532f1 (patch)
tree6f2cdfa15b5c30c953709a8f0f4e00e5bc74aae8 /flowgraphs
parentSome doku change (diff)
downloadFading-0f93582b8938e82fb82d826dd4ced119fe2532f1.tar.gz
Fading-0f93582b8938e82fb82d826dd4ced119fe2532f1.zip
Ber block mit socket ergänzt
Diffstat (limited to 'flowgraphs')
-rw-r--r--flowgraphs/qpsk_sim.grc3
-rwxr-xr-xflowgraphs/qpsk_sim.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/flowgraphs/qpsk_sim.grc b/flowgraphs/qpsk_sim.grc
index a6afefa..b2ad25e 100644
--- a/flowgraphs/qpsk_sim.grc
+++ b/flowgraphs/qpsk_sim.grc
@@ -471,6 +471,7 @@ blocks:
- name: fadingui_ber_0
id: fadingui_ber
parameters:
+ address: udp://localhost:31415
affinity: ''
alias: ''
comment: ''
@@ -480,7 +481,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [1184, 1300.0]
+ coordinate: [1184, 1292.0]
rotation: 0
state: true
- name: fadingui_datasource_0
diff --git a/flowgraphs/qpsk_sim.py b/flowgraphs/qpsk_sim.py
index 12a4894..52129ad 100755
--- a/flowgraphs/qpsk_sim.py
+++ b/flowgraphs/qpsk_sim.py
@@ -179,7 +179,7 @@ class qpsk_sim(gr.top_block, Qt.QWidget):
self.top_grid_layout.addWidget(self._qtgui_const_sink_x_0_win)
self.fadingui_phasecorrection_0 = fadingui.phasecorrection(frame_len)
self.fadingui_multipath_fading_0 = fadingui.multipath_fading(amplitudes=[0.12], delays=[1.8], los =True)
- 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:31415')
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_corr_est_cc_0 = digital.corr_est_cc(access_code_symbols, 1, len(access_code_symbols) // 2, 0.9, digital.THRESHOLD_ABSOLUTE)
self.digital_constellation_modulator_0 = digital.generic_mod(