From 7331b498973b1f1fd43e6770e60ef91150c06ed4 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 25 Nov 2009 17:55:51 -0800 Subject: added missing block wrappers --- grc/blocks/blks2_dxpsk2_demod.xml | 122 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 grc/blocks/blks2_dxpsk2_demod.xml (limited to 'grc/blocks/blks2_dxpsk2_demod.xml') diff --git a/grc/blocks/blks2_dxpsk2_demod.xml b/grc/blocks/blks2_dxpsk2_demod.xml new file mode 100644 index 000000000..98658442e --- /dev/null +++ b/grc/blocks/blks2_dxpsk2_demod.xml @@ -0,0 +1,122 @@ + + + + DPSK2 Demod + blks2_dxpsk2_demod + from gnuradio import blks2 + blks2.$(type)2_demod( + samples_per_symbol=$samples_per_symbol, + excess_bw=$excess_bw, + costas_alpha=$costas_alpha, + timing_alpha=$timing_alpha, + timing_max_dev=$timing_max_dev, + gray_code=$gray_code, + verbose=$verbose, + log=$log, +) + + Type + type + enum + + + + + Samples/Symbol + samples_per_symbol + 2 + int + + + Excess BW + excess_bw + 0.35 + real + + + Costas Alpha + costas_alpha + 0.175 + real + + + Timing Alpha + timing_alpha + 0.100 + real + + + Timing Max Dev + timing_max_dev + 1.5 + real + + + Omega Relative Limit + omega_relative_limit + 0.005 + real + + + Gray Code + gray_code + True + enum + + + + + Verbose + verbose + False + bool + #if str($verbose) == 'False' then 'part' else 'none'# + + + + + Logging + log + False + bool + #if str($log) == 'False' then 'part' else 'none'# + + + + + in + complex + + + out + byte + + -- cgit From a57968df0b3f85ebe1d2f0b70185f90430548a12 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 25 Nov 2009 19:38:36 -0800 Subject: added sync output port to dxpsk2 demod --- grc/blocks/blks2_dxpsk2_demod.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'grc/blocks/blks2_dxpsk2_demod.xml') diff --git a/grc/blocks/blks2_dxpsk2_demod.xml b/grc/blocks/blks2_dxpsk2_demod.xml index 98658442e..c1af5368e 100644 --- a/grc/blocks/blks2_dxpsk2_demod.xml +++ b/grc/blocks/blks2_dxpsk2_demod.xml @@ -17,6 +17,7 @@ gray_code=$gray_code, verbose=$verbose, log=$log, + sync_out=$sync_out, ) Type @@ -71,7 +72,7 @@ Gray Code gray_code True - enum + bool + + Sync Out + sync_out + False + bool + + + in complex @@ -119,4 +134,9 @@ out byte + + sync + complex + 1 + -- cgit From 2ff1da1f41d9604155cdec90a7b4aa992330e3bf Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 25 Nov 2009 20:09:07 -0800 Subject: added callbacks for setting alphas --- grc/blocks/blks2_dxpsk2_demod.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grc/blocks/blks2_dxpsk2_demod.xml') diff --git a/grc/blocks/blks2_dxpsk2_demod.xml b/grc/blocks/blks2_dxpsk2_demod.xml index c1af5368e..ce8305c50 100644 --- a/grc/blocks/blks2_dxpsk2_demod.xml +++ b/grc/blocks/blks2_dxpsk2_demod.xml @@ -19,6 +19,9 @@ log=$log, sync_out=$sync_out, ) + clock_recov.set_alpha($costas_alpha) + clock_recov.set_beta(0.25*$costas_alpha**2) + time_recov.set_alpha($timing_alpha) Type type -- cgit