diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-10 23:52:51 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-10 23:52:51 -0400 |
commit | 294a6fd3b811703329eb15ed91d848c65cc6700e (patch) | |
tree | b422709c45c6bd8a67255d1c55f0cc34604e5bfc /gnuradio-core/src/examples | |
parent | 5a3f0062fa438875b68191363d4ff78ccd07d0c9 (diff) |
blocks: removing file_sink/source file_descriptor_sink/source form core and moved all refs to gr-blocks.
Diffstat (limited to 'gnuradio-core/src/examples')
4 files changed, 9 insertions, 8 deletions
diff --git a/gnuradio-core/src/examples/ctrlport/pfb_sync_test-qt.grc b/gnuradio-core/src/examples/ctrlport/pfb_sync_test-qt.grc index 5287257d77..5ccc65140c 100644 --- a/gnuradio-core/src/examples/ctrlport/pfb_sync_test-qt.grc +++ b/gnuradio-core/src/examples/ctrlport/pfb_sync_test-qt.grc @@ -648,10 +648,10 @@ </param> </block> <block> - <key>gr_file_source</key> + <key>blocks_file_source</key> <param> <key>id</key> - <value>gr_file_source_0</value> + <value>blocks_file_source_0</value> </param> <param> <key>_enabled</key> @@ -809,7 +809,7 @@ <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_file_source_0</source_block_id> + <source_block_id>blocks_file_source_0</source_block_id> <sink_block_id>blocks_packed_to_unpacked_xx_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> diff --git a/gnuradio-core/src/examples/ctrlport/pfb_sync_test.grc b/gnuradio-core/src/examples/ctrlport/pfb_sync_test.grc index 20e8e7f7db..5b0bfeb793 100644 --- a/gnuradio-core/src/examples/ctrlport/pfb_sync_test.grc +++ b/gnuradio-core/src/examples/ctrlport/pfb_sync_test.grc @@ -523,10 +523,10 @@ </param> </block> <block> - <key>gr_file_source</key> + <key>blocks_file_source</key> <param> <key>id</key> - <value>gr_file_source_0</value> + <value>blocks_file_source_0</value> </param> <param> <key>_enabled</key> @@ -654,7 +654,7 @@ <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_file_source_0</source_block_id> + <source_block_id>blocks_file_source_0</source_block_id> <sink_block_id>blocks_packed_to_unpacked_xx_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> diff --git a/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py b/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py index 67dbc41960..2f638e26ec 100755 --- a/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py +++ b/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py @@ -50,7 +50,7 @@ class wfm_rx_block (gr.top_block): # build graph - self.src = gr.file_source(gr.sizeof_gr_complex, input_filename, False) + self.src = blocks.file_source(gr.sizeof_gr_complex, input_filename, False) adc_rate = 64e6 # 64 MS/s usrp_decim = 200 diff --git a/gnuradio-core/src/examples/network/vector_sink.py b/gnuradio-core/src/examples/network/vector_sink.py index e84a27d9fe..c220278e11 100755 --- a/gnuradio-core/src/examples/network/vector_sink.py +++ b/gnuradio-core/src/examples/network/vector_sink.py @@ -21,6 +21,7 @@ # from gnuradio import gr +from gnuradio import blocks from gnuradio.eng_option import eng_option from optparse import OptionParser @@ -30,7 +31,7 @@ class vector_sink(gr.top_block): udp = gr.udp_source(gr.sizeof_float, host, port, pkt_size, eof=eof, wait=wait) - sink = gr.file_sink(gr.sizeof_float, "received.dat") + sink = blocks.file_sink(gr.sizeof_float, "received.dat") self.connect(udp, sink) if __name__ == "__main__": |