[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 05/21: qtgui: added documentation describin
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 05/21: qtgui: added documentation describing pdus message input port. |
Date: |
Fri, 30 Oct 2015 21:11:26 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 70b50fad9bcccdbaf2e74e4b9b7c505fd37b34ed
Author: Tom Rondeau <address@hidden>
Date: Wed Oct 21 15:51:39 2015 -0400
qtgui: added documentation describing pdus message input port.
---
gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h | 21 ++++++++++++++++-----
gr-qtgui/include/gnuradio/qtgui/waterfall_sink_f.h | 16 ++++++++++++++--
2 files changed, 30 insertions(+), 7 deletions(-)
diff --git a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h
b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h
index 2e09e71..cc72246 100644
--- a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h
+++ b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_c.h
@@ -55,13 +55,20 @@ namespace gr {
*
* Message Ports:
*
+ * - pdus (input):
+ * Receives and plots a PDU. Each PDU must have a length
+ * that is an integer multiple of the FFT size. The PDU
+ * must be formatted as a PDU with complex samples. The
+ * block will throw a runtime error if either of these
+ * conditions is not met.
+ *
* - freq (input):
- * Receives a PMT pair: (intern("freq"), double(frequency).
+ * Receives a PMT pair: (intern("freq"), double(frequency)).
* This is used to retune the center frequency of the
* display's x-axis.
*
* - freq (output):
- * Produces a PMT pair with (intern("freq"), double(frequency).
+ * Produces a PMT pair with (intern("freq"), double(frequency)).
* When a user double-clicks on the display, the block
* produces and emits a message containing the frequency of
* where on the x-axis the user clicked. This value can be
@@ -78,16 +85,20 @@ namespace gr {
// gr::qtgui::waterfall_sink_c::sptr
typedef boost::shared_ptr<waterfall_sink_c> sptr;
-
/*!
* \brief Build a complex waterfall sink.
*
- * \param size size of the FFT to compute and display
+ * \param size size of the FFT to compute and display. If using
+ * the PDU message port to plot samples, the length of
+ * each PDU must be a multiple of the FFT size.
* \param wintype type of window to apply (see gnuradio/filter/firdes.h)
* \param fc center frequency of signal (use for x-axis labels)
* \param bw bandwidth of signal (used to set x-axis labels)
* \param name title for the plot
- * \param nconnections number of signals to be connected to the sink
+ * \param nconnections number of signals to be connected to the
+ * sink. The PDU message port is always available for a
+ * connection, and this value must be set to 0 if only
+ * the PDU message port is being used.
* \param parent a QWidget parent object, if any
*/
static sptr make(int size, int wintype,
diff --git a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_f.h
b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_f.h
index 62c0086..0d5d8e5 100644
--- a/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_f.h
+++ b/gr-qtgui/include/gnuradio/qtgui/waterfall_sink_f.h
@@ -55,6 +55,13 @@ namespace gr {
*
* Message Ports:
*
+ * - pdus (input):
+ * Receives and plots a PDU. Each PDU must have a length
+ * that is an integer multiple of the FFT size. The PDU
+ * must be formatted as a PDU with float/double
+ * samples. The block will throw a runtime error if either
+ * of these conditions is not met.
+ *
* - freq (input):
* Receives a PMT pair: (intern("freq"), double(frequency).
* This is used to retune the center frequency of the
@@ -81,12 +88,17 @@ namespace gr {
/*!
* \brief Build a floating point waterfall sink.
*
- * \param size size of the FFT to compute and display
+ * \param size size of the FFT to compute and display. If using
+ * the PDU message port to plot samples, the length of
+ * each PDU must be a multiple of the FFT size.
* \param wintype type of window to apply (see gnuradio/filter/firdes.h)
* \param fc center frequency of signal (use for x-axis labels)
* \param bw bandwidth of signal (used to set x-axis labels)
* \param name title for the plot
- * \param nconnections number of signals to be connected to the sink
+ * \param nconnections number of signals to be connected to the
+ * sink. The PDU message port is always available for a
+ * connection, and this value must be set to 0 if only
+ * the PDU message port is being used.
* \param parent a QWidget parent object, if any
*/
static sptr make(int size, int wintype,
- [Commit-gnuradio] [gnuradio] branch master updated (1aface8 -> f8a84eb), git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 03/21: grc: disconnect hidden blocks, git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 01/21: blocks: Add Complex to IChar block, git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 13/21: qtgui: time display: fixes a threading issue., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 02/21: grc: fix port placement for hidden ports, git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 06/21: qtgui: whitespace and line formatting, git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 12/21: qtgui: histogram plotter supports PDU message plotting., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 08/21: qtgui: Better support for waterfall PDU message port., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 05/21: qtgui: added documentation describing pdus message input port.,
git <=
- [Commit-gnuradio] [gnuradio] 04/21: qtgui: Throw an error if the PDU is not a multiple of the fft size., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 17/21: Merge branch 'maint', git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 18/21: Merge remote-tracking branch 'miek/complex-to-ichar', git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 20/21: Merge branch 'maint', git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 11/21: qtgui: time raster plotters support PDU message plotting., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 09/21: qtgui: constellation plotter supports PDU message plotting., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 21/21: Merge remote-tracking branch 'tom/qtgui/pdu_handling', git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 15/21: qtgui: documenting message input support., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 07/21: qtgui: freq plotters support PDU message plotting., git, 2015/10/30
- [Commit-gnuradio] [gnuradio] 19/21: qtgui: cleaned non in-tree block from qtgui_message_inputs example., git, 2015/10/30