summaryrefslogtreecommitdiff
path: root/gr-analog/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/grc')
-rw-r--r--gr-analog/grc/analog_block_tree.xml3
-rw-r--r--gr-analog/grc/analog_phase_modulator_fc.xml26
2 files changed, 28 insertions, 1 deletions
diff --git a/gr-analog/grc/analog_block_tree.xml b/gr-analog/grc/analog_block_tree.xml
index bb7a9b067..7927c1086 100644
--- a/gr-analog/grc/analog_block_tree.xml
+++ b/gr-analog/grc/analog_block_tree.xml
@@ -35,10 +35,11 @@
<block>analog_feedforward_agc_cc</block>
<block>analog_ctcss_squelch_ff</block>
<block>analog_dpll_bb</block>
- <block>analog_frequency_modulator_fc</block>
</cat>
<cat>
<name>Modulators</name>
<block>analog_cpfsk_bc</block>
+ <block>analog_frequency_modulator_fc</block>
+ <block>analog_phase_modulator_fc</block>
</cat>
</cat>
diff --git a/gr-analog/grc/analog_phase_modulator_fc.xml b/gr-analog/grc/analog_phase_modulator_fc.xml
new file mode 100644
index 000000000..c13af769c
--- /dev/null
+++ b/gr-analog/grc/analog_phase_modulator_fc.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Phase Modulator
+###################################################
+ -->
+<block>
+ <name>Phase Mod</name>
+ <key>analog_phase_modulator_fc</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.phase_modulator_fc($sensitivity)</make>
+ <callback>set_sensitivity($sensitivity)</callback>
+ <param>
+ <name>Sensitivity</name>
+ <key>sensitivity</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>