summaryrefslogtreecommitdiff
path: root/gr-fft/grc
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2013-05-30 08:02:59 -0400
committerTim O'Shea <tim.oshea753@gmail.com>2013-05-30 08:02:59 -0400
commit38f4e01af5936dfe36d633426a03cea6fcc1f50b (patch)
tree0c44d8c6122c13241551d741a8bc14221d0ed0af /gr-fft/grc
parent923b8509d9ebcef79edf2137e10413c9f760091d (diff)
fft: adding ctrlport psd probe block
Diffstat (limited to 'gr-fft/grc')
-rw-r--r--gr-fft/grc/CMakeLists.txt1
-rw-r--r--gr-fft/grc/fft_ctrlport_probe_psd.xml63
2 files changed, 64 insertions, 0 deletions
diff --git a/gr-fft/grc/CMakeLists.txt b/gr-fft/grc/CMakeLists.txt
index 4c96d21738..cc972dfa7e 100644
--- a/gr-fft/grc/CMakeLists.txt
+++ b/gr-fft/grc/CMakeLists.txt
@@ -22,6 +22,7 @@ install(FILES
fft_fft_vxx.xml
fft_goertzel_fc.xml
fft_logpwrfft_x.xml
+ fft_ctrlport_probe_psd.xml
DESTINATION ${GRC_BLOCKS_DIR}
COMPONENT "fft_python"
)
diff --git a/gr-fft/grc/fft_ctrlport_probe_psd.xml b/gr-fft/grc/fft_ctrlport_probe_psd.xml
new file mode 100644
index 0000000000..14fd24a7d9
--- /dev/null
+++ b/gr-fft/grc/fft_ctrlport_probe_psd.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+
+<!--
+ Copyright 2012 Free Software Foundation, Inc.
+
+ This file is part of GNU Radio
+
+ GNU Radio is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GNU Radio is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNU Radio; see the file COPYING. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street,
+ Boston, MA 02110-1301, USA.
+-->
+
+<block>
+ <name>Ctrlport Probe PSD</name>
+ <key>fft_ctrlport_probe_psd</key>
+ <import>from gnuradio import fft</import>
+ <make>fft.ctrlport_probe_psd($name, $desc, $len)</make>
+ <callback>set_length($len)</callback>
+
+ <param>
+ <name>Name</name>
+ <key>name</key>
+ <value>psd</value>
+ <type>string</type>
+ </param>
+
+ <param>
+ <name>Description</name>
+ <key>desc</key>
+ <value>PSD Plot</value>
+ <type>string</type>
+ </param>
+
+ <param>
+ <name>Length</name>
+ <key>len</key>
+ <value>1024</value>
+ <type>int</type>
+ </param>
+
+
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+
+ <doc>
+ Place this in a graph to export PSD values to a GRCP port probe.
+ </doc>
+
+</block>
+