QT GUI Time Sink: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:


Qt GUI Time Sink showing its control panel, with trigger settings.
Qt GUI Time Sink showing its control panel, with trigger settings.
[[File:Timesink-ctrl-large.jpg]]
[[File:Timesink-ctrl-large.jpg] | 600px]
 
Qt GUI Time Sink showing its control panel, with trigger settings (smaller version).
[[File:Timesink-ctrl-small.jpg]]


== Source Files ==
== Source Files ==

Revision as of 08:45, 26 January 2022

A graphical sink to display multiple signals in time.

This block does not support C++ output, so it cannot be used when the output language of a flowgraph in GRC is C++.

This is a QT-based graphical sink the takes set of a float streams and plots them in the time domain. Each signal is plotted with a different color, and the and functions can be used to change the label and color for a given input number.

The sink supports plotting streaming float data or messages. The message port is named "in". The two modes cannot be used simultaneously, and should be set to 0 when using the message mode. GRC handles this issue by providing the "Float Message" type that removes the streaming port(s).

There are many parameters, across three different tabs, most of which are self-explanatory.

See GUI Hint for info about how to organize multiple QT GUIs.

Parameters

Update Period
The period after which the plot data will be updated

Example Flowgraph

Noise-source-ex.png

Control Panel & Triggering

Qt GUI Time Sink showing its control panel, with trigger settings. [[File:Timesink-ctrl-large.jpg] | 600px]

Source Files

C++ files
time_sink_complex_impl.cc
time_sink_float_impl.cc
Header files
time_sink_complex_impl.h
time_sink_float_impl.h
Public header files
time_sink_complex.h
time_sink_float.h
Block definition
qtgui_time_sink_x.block.yml