Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 1173 → Rev 1174

/dokumenty/skolni/diplomka/GRC/Grabber.grc
1,6 → 1,6
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Fri May 2 16:25:22 2014</timestamp>
<timestamp>Wed Jul 23 17:43:43 2014</timestamp>
<block>
<key>options</key>
<param>
72,7 → 72,7
</param>
<param>
<key>value</key>
<value>5e6</value>
<value>10e6</value>
</param>
<param>
<key>_coordinate</key>
419,49 → 419,6
</param>
</block>
<block>
<key>blocks_vector_to_streams</key>
<param>
<key>id</key>
<value>blocks_vector_to_streams_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>num_streams</key>
<value>10</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(131, 222)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>import</key>
<param>
<key>id</key>
485,49 → 442,6
</param>
</block>
<block>
<key>blocks_throttle</key>
<param>
<key>id</key>
<value>blocks_throttle_2</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate/2</value>
</param>
<param>
<key>vlen</key>
<value>10</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(41, 214)</value>
</param>
<param>
<key>_rotation</key>
<value>270</value>
</param>
</block>
<block>
<key>dc_blocker_xx</key>
<param>
<key>id</key>
1263,53 → 1177,6
</param>
</block>
<block>
<key>blocks_file_source</key>
<param>
<key>id</key>
<value>blocks_file_source_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>file</key>
<value>/dev/xillybus_data2_r</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>repeat</key>
<value>False</value>
</param>
<param>
<key>vlen</key>
<value>10</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(176, 124)</value>
</param>
<param>
<key>_rotation</key>
<value>180</value>
</param>
</block>
<block>
<key>wxgui_waterfallsink2</key>
<param>
<key>id</key>
1629,6 → 1496,139
<value>0</value>
</param>
</block>
<block>
<key>blocks_file_source</key>
<param>
<key>id</key>
<value>blocks_file_source_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>file</key>
<value>/dev/xillybus_data2_r</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>repeat</key>
<value>False</value>
</param>
<param>
<key>vlen</key>
<value>10</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(176, 124)</value>
</param>
<param>
<key>_rotation</key>
<value>180</value>
</param>
</block>
<block>
<key>blocks_vector_to_streams</key>
<param>
<key>id</key>
<value>blocks_vector_to_streams_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>num_streams</key>
<value>10</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(131, 222)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>blocks_throttle</key>
<param>
<key>id</key>
<value>blocks_throttle_2</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>short</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate/2</value>
</param>
<param>
<key>vlen</key>
<value>10</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(26, 245)</value>
</param>
<param>
<key>_rotation</key>
<value>270</value>
</param>
</block>
<connection>
<source_block_id>blocks_vector_to_streams_0</source_block_id>
<sink_block_id>blocks_interleave_0_2</sink_block_id>
/dokumenty/skolni/diplomka/GRC/MLAB_ADC_Grabber.py
4,7 → 4,7
# Title: MLAB ADC Grabber
# Author: Jakub Kakona
# Description: Basic software for reading ADC data from ADCdual01A modules trought ML602 development board.
# Generated: Mon Jun 2 15:58:15 2014
# Generated: Wed Jul 23 17:43:43 2014
##################################################
 
from datetime import datetime
35,7 → 35,7
# Variables
##################################################
self.prefix = prefix = "/home/localuser/gnuradio/"
self.samp_rate = samp_rate = 5e6
self.samp_rate = samp_rate = 10e6
self.recfile = recfile = prefix + datetime.now().strftime("%Y.%m.%d.%H.%M.%S") + ".dat"
 
##################################################
242,7 → 242,6
 
def set_samp_rate(self, samp_rate):
self.samp_rate = samp_rate
self.blocks_throttle_2.set_sample_rate(self.samp_rate/2)
self.wxgui_scopesink2_1.set_sample_rate(self.samp_rate/2)
self.wxgui_waterfallsink2_0_0.set_sample_rate(self.samp_rate)
self.wxgui_scopesink2_0.set_sample_rate(self.samp_rate)
249,6 → 248,7
self.wxgui_waterfallsink2_0.set_sample_rate(self.samp_rate)
self.wxgui_fftsink2_0.set_sample_rate(self.samp_rate)
self.wxgui_fftsink2_1.set_sample_rate(self.samp_rate)
self.blocks_throttle_2.set_sample_rate(self.samp_rate/2)
 
def get_recfile(self):
return self.recfile
/dokumenty/skolni/diplomka/GRC/Player.grc
1,6 → 1,6
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Fri May 30 02:00:44 2014</timestamp>
<timestamp>Mon Sep 29 10:28:12 2014</timestamp>
<block>
<key>options</key>
<param>
64,7 → 64,7
<key>variable</key>
<param>
<key>id</key>
<value>LO</value>
<value>out_dir</value>
</param>
<param>
<key>_enabled</key>
72,11 → 72,11
</param>
<param>
<key>value</key>
<value>286078822.488</value>
<value>"/home/kaklik/git/pysdr/"</value>
</param>
<param>
<key>_coordinate</key>
<value>(1263, 609)</value>
<value>(2315, 32)</value>
</param>
<param>
<key>_rotation</key>
87,7 → 87,7
<key>variable</key>
<param>
<key>id</key>
<value>filename</value>
<value>out_sample_rate</value>
</param>
<param>
<key>_enabled</key>
95,11 → 95,11
</param>
<param>
<key>value</key>
<value>"2014.05.02.14.58.50.dat"</value>
<value>int(2e3)</value>
</param>
<param>
<key>_coordinate</key>
<value>(488, 17)</value>
<value>(1589, 487)</value>
</param>
<param>
<key>_rotation</key>
110,7 → 110,7
<key>variable</key>
<param>
<key>id</key>
<value>outfile_ADC2</value>
<value>cutoff</value>
</param>
<param>
<key>_enabled</key>
118,11 → 118,11
</param>
<param>
<key>value</key>
<value>out_dir+filename+"ADC2.wav"</value>
<value>1000</value>
</param>
<param>
<key>_coordinate</key>
<value>(2284, 772)</value>
<value>(1609, 392)</value>
</param>
<param>
<key>_rotation</key>
133,7 → 133,7
<key>variable</key>
<param>
<key>id</key>
<value>outfile_ADC1</value>
<value>prefix</value>
</param>
<param>
<key>_enabled</key>
141,11 → 141,11
</param>
<param>
<key>value</key>
<value>out_dir+filename+"ADC1.wav"</value>
<value>"/media/kaklik/Radio_zaloha/2014-05-02/"</value>
</param>
<param>
<key>_coordinate</key>
<value>(2293, 166)</value>
<value>(276, 100)</value>
</param>
<param>
<key>_rotation</key>
156,7 → 156,7
<key>variable</key>
<param>
<key>id</key>
<value>samp_rate</value>
<value>normalize</value>
</param>
<param>
<key>_enabled</key>
164,11 → 164,11
</param>
<param>
<key>value</key>
<value>5e6</value>
<value>1/200.0</value>
</param>
<param>
<key>_coordinate</key>
<value>(200, 11)</value>
<value>(1384, 727)</value>
</param>
<param>
<key>_rotation</key>
202,7 → 202,7
<key>variable</key>
<param>
<key>id</key>
<value>normalize</value>
<value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
210,11 → 210,11
</param>
<param>
<key>value</key>
<value>1/200.0</value>
<value>5e6</value>
</param>
<param>
<key>_coordinate</key>
<value>(1384, 727)</value>
<value>(200, 11)</value>
</param>
<param>
<key>_rotation</key>
225,7 → 225,7
<key>variable</key>
<param>
<key>id</key>
<value>prefix</value>
<value>outfile_ADC1</value>
</param>
<param>
<key>_enabled</key>
233,11 → 233,11
</param>
<param>
<key>value</key>
<value>"/media/kaklik/Radio_zaloha/2014-05-02/"</value>
<value>out_dir+filename+"ADC1.wav"</value>
</param>
<param>
<key>_coordinate</key>
<value>(276, 100)</value>
<value>(2293, 166)</value>
</param>
<param>
<key>_rotation</key>
248,7 → 248,7
<key>variable</key>
<param>
<key>id</key>
<value>cutoff</value>
<value>outfile_ADC2</value>
</param>
<param>
<key>_enabled</key>
256,11 → 256,11
</param>
<param>
<key>value</key>
<value>1000</value>
<value>out_dir+filename+"ADC2.wav"</value>
</param>
<param>
<key>_coordinate</key>
<value>(1609, 392)</value>
<value>(2284, 772)</value>
</param>
<param>
<key>_rotation</key>
271,7 → 271,7
<key>variable</key>
<param>
<key>id</key>
<value>out_sample_rate</value>
<value>filename</value>
</param>
<param>
<key>_enabled</key>
279,11 → 279,11
</param>
<param>
<key>value</key>
<value>int(2e3)</value>
<value>"2014.05.02.14.58.50.dat"</value>
</param>
<param>
<key>_coordinate</key>
<value>(1589, 487)</value>
<value>(488, 17)</value>
</param>
<param>
<key>_rotation</key>
294,7 → 294,7
<key>variable</key>
<param>
<key>id</key>
<value>out_dir</value>
<value>LO</value>
</param>
<param>
<key>_enabled</key>
302,11 → 302,11
</param>
<param>
<key>value</key>
<value>"/home/kaklik/git/pysdr/"</value>
<value>286078822.488</value>
</param>
<param>
<key>_coordinate</key>
<value>(2315, 32)</value>
<value>(1263, 609)</value>
</param>
<param>
<key>_rotation</key>
344,10 → 344,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(68, 212)</value>
</param>
383,10 → 379,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(445, 484)</value>
</param>
426,10 → 418,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(282, 348)</value>
</param>
469,10 → 457,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(282, 416)</value>
</param>
512,10 → 496,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(282, 485)</value>
</param>
551,10 → 531,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(452, 369)</value>
</param>
594,10 → 570,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(283, 282)</value>
</param>
633,10 → 605,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(449, 431)</value>
</param>
684,10 → 652,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1360, 47)</value>
</param>
723,10 → 687,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(454, 316)</value>
</param>
793,10 → 753,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(854, 369)</value>
</param>
907,10 → 863,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(863, 255)</value>
</param>
946,10 → 898,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(383, 244)</value>
</param>
985,10 → 933,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(380, 191)</value>
</param>
1036,10 → 980,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1351, 417)</value>
</param>
1228,10 → 1168,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1868, 493)</value>
</param>
1643,10 → 1579,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1528, 206)</value>
</param>
1678,10 → 1610,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1868, 329)</value>
</param>
1824,10 → 1752,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1554, 607)</value>
</param>
1859,10 → 1783,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(1815, 725)</value>
</param>
1902,10 → 1822,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(20, 211)</value>
</param>
1941,10 → 1857,6
<value>False</value>
</param>
<param>
<key>append</key>
<value>False</value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
1969,7 → 1881,7
</param>
<param>
<key>file</key>
<value>/home/localuser/gnuradio/2014.05.02.15.40.33.dat</value>
<value>/home/localuser/gnuradio/2014.05.02.15.04.37.dat</value>
</param>
<param>
<key>type</key>
1992,10 → 1904,6
<value>0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(151, 96)</value>
</param>