diff options
Diffstat (limited to 'tools/gr-usrptest/grc')
-rw-r--r-- | tools/gr-usrptest/grc/usrptest_measurement_sink_f.xml | 38 | ||||
-rw-r--r-- | tools/gr-usrptest/grc/usrptest_phase_calc_ccf.xml | 20 |
2 files changed, 58 insertions, 0 deletions
diff --git a/tools/gr-usrptest/grc/usrptest_measurement_sink_f.xml b/tools/gr-usrptest/grc/usrptest_measurement_sink_f.xml new file mode 100644 index 000000000..c681e457f --- /dev/null +++ b/tools/gr-usrptest/grc/usrptest_measurement_sink_f.xml @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<block> + <name>measurement_sink_f</name> + <key>usrptest_measurement_sink_f</key> + <category>[usrptest]</category> + <import>import usrptest</import> + <make>usrptest.measurement_sink_f($num_samples, $)</make> + <!-- Make one 'param' node for every Parameter you want settable from the GUI. + Sub-nodes: + * name + * key (makes the value accessible as $keyname, e.g. in the make node) + * type --> + <param> + <name>...</name> + <key>...</key> + <type>...</type> + </param> + + <!-- Make one 'sink' node per input. Sub-nodes: + * name (an identifier for the GUI) + * type + * vlen + * optional (set to 1 for optional inputs) --> + <sink> + <name>in</name> + <type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type> + </sink> + + <!-- Make one 'source' node per output. Sub-nodes: + * name (an identifier for the GUI) + * type + * vlen + * optional (set to 1 for optional inputs) --> + <source> + <name>out</name> + <type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type> + </source> +</block> diff --git a/tools/gr-usrptest/grc/usrptest_phase_calc_ccf.xml b/tools/gr-usrptest/grc/usrptest_phase_calc_ccf.xml new file mode 100644 index 000000000..4c98f56eb --- /dev/null +++ b/tools/gr-usrptest/grc/usrptest_phase_calc_ccf.xml @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<block> + <name>Calculate phase diff</name> + <key>usrptest_phase_calc_ccf</key> + <category>[usrptest]</category> + <import>import usrptest</import> + <make>usrptest.phase_calc_ccf()</make> + <sink> + <name>in1</name> + <type>complex</type> + </sink> + <sink> + <name>in2</name> + <type>complex</type> + </sink> + <source> + <name>out</name> + <type>float</type> + </source> +</block> |