diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-12-03 19:42:59 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-12-03 19:42:59 -0500 |
commit | 1fea3358fbb5796ca50475e55dd7f0d443f1cd73 (patch) | |
tree | e15b9b27a607c96df5f42f58e2ab578e6e27a34b /grc | |
parent | 76906d9a6bab589abaa96e0dc115c45927f4570f (diff) |
Merging ctrlport2 into next branch.
Diffstat (limited to 'grc')
-rw-r--r-- | grc/blocks/gr_ctrlport_probe2_c.xml | 66 | ||||
-rw-r--r-- | grc/blocks/gr_ctrlport_probe_c.xml | 56 | ||||
-rw-r--r-- | grc/blocks/gr_ctrlport_viewer.xml | 50 |
3 files changed, 172 insertions, 0 deletions
diff --git a/grc/blocks/gr_ctrlport_probe2_c.xml b/grc/blocks/gr_ctrlport_probe2_c.xml new file mode 100644 index 0000000000..bdf77084dd --- /dev/null +++ b/grc/blocks/gr_ctrlport_probe2_c.xml @@ -0,0 +1,66 @@ +<?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 Complex Probe (fixed len)</name> + <key>gr_ctrlport_probe2_c</key> + <category>Control Port</category> + <import>from gnuradio import gr</import> + <make>gr.ctrlport_probe2_c($name, $desc, $len)</make> + <callback>set_length($len)</callback> + + <param> + <name>Name</name> + <key>name</key> + <value>constellation</value> + <type>string</type> + </param> + + <param> + <name>Description</name> + <key>desc</key> + <value>Constellation Points</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 complex values to a GRCP port probe. + + * Version 2 allows you to specify a length in samples that you wish to get every probe + </doc> + +</block> + diff --git a/grc/blocks/gr_ctrlport_probe_c.xml b/grc/blocks/gr_ctrlport_probe_c.xml new file mode 100644 index 0000000000..17cfdd1466 --- /dev/null +++ b/grc/blocks/gr_ctrlport_probe_c.xml @@ -0,0 +1,56 @@ +<?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 Complex Probe</name> + <key>gr_ctrlport_probe_c</key> + <category>Control Port</category> + <import>from gnuradio import gr</import> + <make>gr.ctrlport_probe_c($name, $desc)</make> + + <param> + <name>Name</name> + <key>name</key> + <value>constellation</value> + <type>string</type> + </param> + + <param> + <name>Description</name> + <key>desc</key> + <value>Constellation Points</value> + <type>string</type> + </param> + + + <sink> + <name>in</name> + <type>complex</type> + </sink> + + <doc> + Place this in a graph to export complex values to a GRCP port probe. + </doc> + +</block> + diff --git a/grc/blocks/gr_ctrlport_viewer.xml b/grc/blocks/gr_ctrlport_viewer.xml new file mode 100644 index 0000000000..43934b209c --- /dev/null +++ b/grc/blocks/gr_ctrlport_viewer.xml @@ -0,0 +1,50 @@ +<?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 Monitor</name> + <key>monitor</key> + <category>Control Port</category> + <import>from gnuradio.ctrlport.monitor import *</import> + <make>not $en or monitor()</make> + <param> + <name>Enabled</name> + <key>en</key> + <value></value> + <type>enum</type> + <option> + <name>True</name> + <key>True</key> + </option> + <option> + <name>False</name> + <key>False</key> + </option> + </param> + + <doc> + Place this in a graph to launch a QtPy GR CtrlPort Monitor app. + </doc> + +</block> + |