Changed name of message input in clock offset corrector

This commit is contained in:
piotr 2014-08-06 20:12:24 +02:00
parent 62b15126ea
commit 4a4704606a
3 changed files with 45 additions and 45 deletions

View File

@ -32,7 +32,7 @@
<vlen>1</vlen>
</sink>
<sink>
<name>ppm_msg</name>
<name>ppm</name>
<type>message</type>
<optional>True</optional>
</sink>

View File

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Wed Aug 6 13:47:37 2014</timestamp>
<timestamp>Wed Aug 6 19:56:28 2014</timestamp>
<block>
<key>options</key>
<param>
@ -474,45 +474,6 @@
<value>0</value>
</param>
</block>
<block>
<key>pad_source</key>
<param>
<key>id</key>
<value>ppm_msg</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value>ppm_msg</value>
</param>
<param>
<key>type</key>
<value>message</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>num_streams</key>
<value>1</value>
</param>
<param>
<key>optional</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(15, 217)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gsm_controlled_const_source_f</key>
<param>
@ -595,6 +556,45 @@
<value>0</value>
</param>
</block>
<block>
<key>pad_source</key>
<param>
<key>id</key>
<value>ppm</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value>ppm</value>
</param>
<param>
<key>type</key>
<value>message</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>num_streams</key>
<value>1</value>
</param>
<param>
<key>optional</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(15, 217)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<connection>
<source_block_id>gsm_controlled_const_source_f_0</source_block_id>
<sink_block_id>blocks_multiply_const_vxx_0_0</sink_block_id>
@ -644,7 +644,7 @@
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>ppm_msg</source_block_id>
<source_block_id>ppm</source_block_id>
<sink_block_id>gsm_controlled_const_source_f_0</sink_block_id>
<source_key>0</source_key>
<sink_key>constant_msg</sink_key>

View File

@ -3,7 +3,7 @@
# Gnuradio Python Flow Graph
# Title: Clock offset corrector
# Author: Piotr Krysik
# Generated: Wed Aug 6 13:47:38 2014
# Generated: Wed Aug 6 15:49:59 2014
##################################################
from gnuradio import blocks
@ -32,7 +32,7 @@ class clock_offset_corrector(gr.hier_block2):
##################################################
# Blocks
##################################################
self.ppm_msg = None;self.message_port_register_hier_out("ppm_msg")
self.ppm_msg = None;self.message_port_register_hier_out("ppm")
self.gsm_controlled_rotator_cc_0 = gsm.controlled_rotator_cc(0,samp_rate)
self.gsm_controlled_const_source_f_0 = gsm.controlled_const_source_f(ppm)
self.fractional_resampler_xx_0 = filter.fractional_resampler_cc(0, 1)
@ -55,7 +55,7 @@ class clock_offset_corrector(gr.hier_block2):
##################################################
# Asynch Message Connections
##################################################
self.msg_connect(self, "ppm_msg", self.gsm_controlled_const_source_f_0, "constant_msg")
self.msg_connect(self, "ppm", self.gsm_controlled_const_source_f_0, "constant_msg")
def get_ppm(self):