diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-10-30 11:44:01 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-10-30 11:44:01 -0400 |
commit | 440739593a0648f40ddaf4e6d4cd898495a9c856 (patch) | |
tree | 3512168efd3f3898c368ef3988cae8f8eb675d3c /gr-analog | |
parent | 0c47c920908bb8e1b42c8e2cc77346ccc9d28693 (diff) |
analog: fixing noise source in GRC.
Diffstat (limited to 'gr-analog')
-rw-r--r-- | gr-analog/grc/analog_block_tree.xml | 4 | ||||
-rw-r--r-- | gr-analog/grc/analog_noise_source_x.xml | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gr-analog/grc/analog_block_tree.xml b/gr-analog/grc/analog_block_tree.xml index 7927c10866..54142e623b 100644 --- a/gr-analog/grc/analog_block_tree.xml +++ b/gr-analog/grc/analog_block_tree.xml @@ -42,4 +42,8 @@ <block>analog_frequency_modulator_fc</block> <block>analog_phase_modulator_fc</block> </cat> + <cat> + <name>Sources</name> + <block>analog_noise_source_x</block> + </cat> </cat> diff --git a/gr-analog/grc/analog_noise_source_x.xml b/gr-analog/grc/analog_noise_source_x.xml index 72daaaa209..5404e78960 100644 --- a/gr-analog/grc/analog_noise_source_x.xml +++ b/gr-analog/grc/analog_noise_source_x.xml @@ -6,9 +6,9 @@ --> <block> <name>Noise Source</name> - <key>gr_noise_source_x</key> - <import>from gnuradio import gr</import> - <make>gr.noise_source_$(type.fcn)($noise_type, $amp, $seed)</make> + <key>analog_noise_source_x</key> + <import>from gnuradio import analog</import> + <make>analog.noise_source_$(type.fcn)($noise_type, $amp, $seed)</make> <callback>set_type($noise_type)</callback> <callback>set_amplitude($amp)</callback> <param> @@ -39,23 +39,23 @@ <param> <name>Noise Type</name> <key>noise_type</key> - <value>gr.GR_GAUSSIAN</value> + <value>analog.GR_GAUSSIAN</value> <type>int</type> <option> <name>Uniform</name> - <key>gr.GR_UNIFORM</key> + <key>analog.GR_UNIFORM</key> </option> <option> <name>Gaussian</name> - <key>gr.GR_GAUSSIAN</key> + <key>analog.GR_GAUSSIAN</key> </option> <option> <name>Laplacian</name> - <key>gr.GR_LAPLACIAN</key> + <key>analog.GR_LAPLACIAN</key> </option> <option> <name>Impulse</name> - <key>gr.GR_IMPULSE</key> + <key>analog.GR_IMPULSE</key> </option> </param> <param> |