gr::qtgui::time_sink_f
gr::sync_block
gnuradio/qtgui/time_sink_f.h
std::shared_ptr< time_sink_f > std::shared_ptr<time_sink_f> gr::qtgui::time_sink_f::sptr sptr gr::qtgui::time_sink_f::sptr
QApplication * QApplication* gr::qtgui::time_sink_f::d_qApplication d_qApplication gr::qtgui::time_sink_f::d_qApplication
sptr static sptr gr::qtgui::time_sink_f::make (int size, double samp_rate, const std::string &name, unsigned int nconnections=1, QWidget *parent=NULL) make gr::qtgui::time_sink_f::make int size double samp_rate const std::string & name unsigned int nconnections 1 QWidget * parent NULL

Build floating point time sink.

size

number of points to plot at once

samp_rate

sample rate (used to set x-axis labels)

name

title for the plot

nconnections

number of signals connected to sink

parent

a QWidget parent object, if any

void virtual void gr::qtgui::time_sink_f::exec_ ()=0 exec_ gr::qtgui::time_sink_f::exec_
QWidget * virtual QWidget * gr::qtgui::time_sink_f::qwidget ()=0 qwidget gr::qtgui::time_sink_f::qwidget
void virtual void gr::qtgui::time_sink_f::set_y_axis (double min, double max)=0 set_y_axis gr::qtgui::time_sink_f::set_y_axis double min double max
void virtual void gr::qtgui::time_sink_f::set_y_label (const std::string &label, const std::string &unit="")=0 set_y_label gr::qtgui::time_sink_f::set_y_label const std::string & label const std::string & unit ""
void virtual void gr::qtgui::time_sink_f::set_update_time (double t)=0 set_update_time gr::qtgui::time_sink_f::set_update_time double t
void virtual void gr::qtgui::time_sink_f::set_title (const std::string &title)=0 set_title gr::qtgui::time_sink_f::set_title const std::string & title
void virtual void gr::qtgui::time_sink_f::set_line_label (unsigned int which, const std::string &line)=0 set_line_label gr::qtgui::time_sink_f::set_line_label unsigned int which const std::string & line
void virtual void gr::qtgui::time_sink_f::set_line_color (unsigned int which, const std::string &color)=0 set_line_color gr::qtgui::time_sink_f::set_line_color unsigned int which const std::string & color
void virtual void gr::qtgui::time_sink_f::set_line_width (unsigned int which, int width)=0 set_line_width gr::qtgui::time_sink_f::set_line_width unsigned int which int width
void virtual void gr::qtgui::time_sink_f::set_line_style (unsigned int which, int style)=0 set_line_style gr::qtgui::time_sink_f::set_line_style unsigned int which int style
void virtual void gr::qtgui::time_sink_f::set_line_marker (unsigned int which, int marker)=0 set_line_marker gr::qtgui::time_sink_f::set_line_marker unsigned int which int marker
void virtual void gr::qtgui::time_sink_f::set_nsamps (const int newsize)=0 set_nsamps gr::qtgui::time_sink_f::set_nsamps const int newsize
void virtual void gr::qtgui::time_sink_f::set_samp_rate (const double samp_rate)=0 set_samp_rate gr::qtgui::time_sink_f::set_samp_rate const double samp_rate
void virtual void gr::qtgui::time_sink_f::set_line_alpha (unsigned int which, double alpha)=0 set_line_alpha gr::qtgui::time_sink_f::set_line_alpha unsigned int which double alpha
void virtual void gr::qtgui::time_sink_f::set_trigger_mode (trigger_mode mode, trigger_slope slope, float level, float delay, int channel, const std::string &tag_key="")=0 set_trigger_mode gr::qtgui::time_sink_f::set_trigger_mode trigger_mode mode trigger_slope slope float level float delay int channel const std::string & tag_key ""

Set up a trigger for the sink to know when to start plotting. Useful to isolate events and avoid noise.

The trigger modes are Free, Auto, Normal, and Tag (see gr::qtgui::trigger_mode). The first three are like a normal oscope trigger function. Free means free running with no trigger, auto will trigger if the trigger event is seen, but will still plot otherwise, and normal will hold until the trigger event is observed. The Tag trigger mode allows us to trigger off a specific stream tag. The tag trigger is based only on the name of the tag, so when a tag of the given name is seen, the trigger is activated.

In auto and normal mode, we look for the slope of the of the signal. Given a gr::qtgui::trigger_slope as either Positive or Negative, if the value between two samples moves in the given direction (x[1] > x[0] for Positive or x[1] < x[0] for Negative), then the trigger is activated.

The `delay` value is specified in time based off the sample rate. If the sample rate of the block is set to 1, the delay is then also the sample number offset. This is the offset from the left-hand y-axis of the plot. It delays the signal to show the trigger event at the given delay along with some portion of the signal before the event. The delay must be within 0 - t_max where t_max is the maximum amount of time displayed on the time plot.

mode

The trigger_mode: free, auto, normal, or tag.

slope

The trigger_slope: positive or negative. Only used for auto and normal modes.

level

The magnitude of the trigger even for auto or normal modes.

delay

The delay (in units of time) for where the trigger happens.

channel

Which input channel to use for the trigger events.

tag_key

The name (as a string) of the tag to trigger off of if using the tag mode.

std::string virtual std::string gr::qtgui::time_sink_f::title ()=0 title gr::qtgui::time_sink_f::title
std::string virtual std::string gr::qtgui::time_sink_f::line_label (unsigned int which)=0 line_label gr::qtgui::time_sink_f::line_label unsigned int which
std::string virtual std::string gr::qtgui::time_sink_f::line_color (unsigned int which)=0 line_color gr::qtgui::time_sink_f::line_color unsigned int which
int virtual int gr::qtgui::time_sink_f::line_width (unsigned int which)=0 line_width gr::qtgui::time_sink_f::line_width unsigned int which
int virtual int gr::qtgui::time_sink_f::line_style (unsigned int which)=0 line_style gr::qtgui::time_sink_f::line_style unsigned int which
int virtual int gr::qtgui::time_sink_f::line_marker (unsigned int which)=0 line_marker gr::qtgui::time_sink_f::line_marker unsigned int which
double virtual double gr::qtgui::time_sink_f::line_alpha (unsigned int which)=0 line_alpha gr::qtgui::time_sink_f::line_alpha unsigned int which
void virtual void gr::qtgui::time_sink_f::set_size (int width, int height)=0 set_size gr::qtgui::time_sink_f::set_size int width int height
void virtual void gr::qtgui::time_sink_f::enable_menu (bool en=true)=0 enable_menu gr::qtgui::time_sink_f::enable_menu bool en true
void virtual void gr::qtgui::time_sink_f::enable_grid (bool en=true)=0 enable_grid gr::qtgui::time_sink_f::enable_grid bool en true
void virtual void gr::qtgui::time_sink_f::enable_autoscale (bool en=true)=0 enable_autoscale gr::qtgui::time_sink_f::enable_autoscale bool en true
void virtual void gr::qtgui::time_sink_f::enable_stem_plot (bool en=true)=0 enable_stem_plot gr::qtgui::time_sink_f::enable_stem_plot bool en true
void virtual void gr::qtgui::time_sink_f::enable_semilogx (bool en=true)=0 enable_semilogx gr::qtgui::time_sink_f::enable_semilogx bool en true
void virtual void gr::qtgui::time_sink_f::enable_semilogy (bool en=true)=0 enable_semilogy gr::qtgui::time_sink_f::enable_semilogy bool en true
void virtual void gr::qtgui::time_sink_f::enable_control_panel (bool en=true)=0 enable_control_panel gr::qtgui::time_sink_f::enable_control_panel bool en true
void virtual void gr::qtgui::time_sink_f::enable_tags (unsigned int which, bool en)=0 enable_tags gr::qtgui::time_sink_f::enable_tags unsigned int which bool en
void virtual void gr::qtgui::time_sink_f::enable_tags (bool en)=0 enable_tags gr::qtgui::time_sink_f::enable_tags bool en
void virtual void gr::qtgui::time_sink_f::enable_axis_labels (bool en=true)=0 enable_axis_labels gr::qtgui::time_sink_f::enable_axis_labels bool en true
void virtual void gr::qtgui::time_sink_f::disable_legend ()=0 disable_legend gr::qtgui::time_sink_f::disable_legend
int virtual int gr::qtgui::time_sink_f::nsamps () const =0 nsamps gr::qtgui::time_sink_f::nsamps
void virtual void gr::qtgui::time_sink_f::reset ()=0 reset gr::qtgui::time_sink_f::reset

A graphical sink to display multiple signals in time.

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 set_title and set_color 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 `nconnections` 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).

This sink can plot messages that contain either uniform vectors of float 32 values (pmt::is_f32vector) or PDUs where the data is a uniform vector of float 32 values.

gr::basic_block
gr::block
gr::messages::msg_accepter
gr::msg_accepter
gr::qtgui::time_sink_f
gr::sync_block
std::enable_shared_from_this< basic_block >
T
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::io_signature
gr::messages::msg_accepter
gr::msg_accepter
gr::qtgui::time_sink_f
gr::sync_block
std::basic_string< Char >
std::deque< T >
elements
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
keys
elements
std::shared_ptr< T >
ptr
std::shared_ptr< io_signature >
ptr
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::string
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
- gr::qtgui::time_sink_f
  _post
- gr::qtgui::time_sink_f
  active_thread_priority
- gr::qtgui::time_sink_f
  add_item_tag
- gr::qtgui::time_sink_f
  add_item_tag
- gr::qtgui::time_sink_f
  alias
- gr::qtgui::time_sink_f
  alias_pmt
- gr::qtgui::time_sink_f
  alias_set
- gr::qtgui::time_sink_f
  alignment
- gr::qtgui::time_sink_f
  allocate_buffer
- gr::qtgui::time_sink_f
  allocate_detail
- gr::qtgui::time_sink_f
  basic_block
- gr::qtgui::time_sink_f
  basic_block
- gr::qtgui::time_sink_f
  BLACK
- gr::qtgui::time_sink_f
  blkd_input_timer_value
- gr::qtgui::time_sink_f
  block
- gr::qtgui::time_sink_f
  block
- gr::qtgui::time_sink_f
  check_topology
- gr::qtgui::time_sink_f
  clear_finished
- gr::qtgui::time_sink_f
  color
- gr::qtgui::time_sink_f
  consume
- gr::qtgui::time_sink_f
  consume_each
- gr::qtgui::time_sink_f
  d_blkd_input_timer_value
- gr::qtgui::time_sink_f
  d_color
- gr::qtgui::time_sink_f
  d_debug_logger
- gr::qtgui::time_sink_f
  d_input_signature
- gr::qtgui::time_sink_f
  d_logger
- gr::qtgui::time_sink_f
  d_max_output_buffer
- gr::qtgui::time_sink_f
  d_message_subscribers
- gr::qtgui::time_sink_f
  d_min_output_buffer
- gr::qtgui::time_sink_f
  d_name
- gr::qtgui::time_sink_f
  d_output_signature
- gr::qtgui::time_sink_f
  d_pmt_done
- gr::qtgui::time_sink_f
  d_qApplication
- gr::qtgui::time_sink_f
  d_rpc_set
- gr::qtgui::time_sink_f
  d_rpc_vars
- gr::qtgui::time_sink_f
  d_setlock
- gr::qtgui::time_sink_f
  d_symbol_alias
- gr::qtgui::time_sink_f
  d_symbol_name
- gr::qtgui::time_sink_f
  d_symbolic_id
- gr::qtgui::time_sink_f
  d_system_port
- gr::qtgui::time_sink_f
  d_unique_id
- gr::qtgui::time_sink_f
  declare_sample_delay
- gr::qtgui::time_sink_f
  declare_sample_delay
- gr::qtgui::time_sink_f
  delete_head_nowait
- gr::qtgui::time_sink_f
  detail
- gr::qtgui::time_sink_f
  disable_legend
- gr::qtgui::time_sink_f
  dispatch_msg
- gr::qtgui::time_sink_f
  empty_handled_p
- gr::qtgui::time_sink_f
  empty_handled_p
- gr::qtgui::time_sink_f
  empty_p
- gr::qtgui::time_sink_f
  empty_p
- gr::qtgui::time_sink_f
  enable_autoscale
- gr::qtgui::time_sink_f
  enable_axis_labels
- gr::qtgui::time_sink_f
  enable_control_panel
- gr::qtgui::time_sink_f
  enable_grid
- gr::qtgui::time_sink_f
  enable_menu
- gr::qtgui::time_sink_f
  enable_semilogx
- gr::qtgui::time_sink_f
  enable_semilogy
- gr::qtgui::time_sink_f
  enable_stem_plot
- gr::qtgui::time_sink_f
  enable_tags
- gr::qtgui::time_sink_f
  enable_tags
- gr::qtgui::time_sink_f
  enable_update_rate
- gr::qtgui::time_sink_f
  erase_msg
- gr::qtgui::time_sink_f
  exec_
- gr::qtgui::time_sink_f
  expand_minmax_buffer
- gr::qtgui::time_sink_f
  finished
- gr::qtgui::time_sink_f
  fixed_rate
- gr::qtgui::time_sink_f
  fixed_rate_ninput_to_noutput
- gr::qtgui::time_sink_f
  fixed_rate_noutput_to_ninput
- gr::qtgui::time_sink_f
  forecast
- gr::qtgui::time_sink_f
  general_work
- gr::qtgui::time_sink_f
  get_iterator
- gr::qtgui::time_sink_f
  get_msg_map
- gr::qtgui::time_sink_f
  get_tags_in_range
- gr::qtgui::time_sink_f
  get_tags_in_range
- gr::qtgui::time_sink_f
  get_tags_in_window
- gr::qtgui::time_sink_f
  get_tags_in_window
- gr::qtgui::time_sink_f
  GREY
- gr::qtgui::time_sink_f
  has_msg_handler
- gr::qtgui::time_sink_f
  has_msg_port
- gr::qtgui::time_sink_f
  history
- gr::qtgui::time_sink_f
  identifier
- gr::qtgui::time_sink_f
  input_signature
- gr::qtgui::time_sink_f
  insert_tail
- gr::qtgui::time_sink_f
  is_pc_rpc_set
- gr::qtgui::time_sink_f
  is_rpc_set
- gr::qtgui::time_sink_f
  is_set_max_noutput_items
- gr::qtgui::time_sink_f
  is_unaligned
- gr::qtgui::time_sink_f
  line_alpha
- gr::qtgui::time_sink_f
  line_color
- gr::qtgui::time_sink_f
  line_label
- gr::qtgui::time_sink_f
  line_marker
- gr::qtgui::time_sink_f
  line_style
- gr::qtgui::time_sink_f
  line_width
- gr::qtgui::time_sink_f
  log_level
- gr::qtgui::time_sink_f
  make
- gr::qtgui::time_sink_f
  max_noutput_items
- gr::qtgui::time_sink_f
  max_output_buffer
- gr::qtgui::time_sink_f
  message_port_is_hier
- gr::qtgui::time_sink_f
  message_port_is_hier_in
- gr::qtgui::time_sink_f
  message_port_is_hier_out
- gr::qtgui::time_sink_f
  message_port_pub
- gr::qtgui::time_sink_f
  message_port_register_in
- gr::qtgui::time_sink_f
  message_port_register_out
- gr::qtgui::time_sink_f
  message_port_sub
- gr::qtgui::time_sink_f
  message_port_unsub
- gr::qtgui::time_sink_f
  message_ports_in
- gr::qtgui::time_sink_f
  message_ports_out
- gr::qtgui::time_sink_f
  message_subscribers
- gr::qtgui::time_sink_f
  min_noutput_items
- gr::qtgui::time_sink_f
  min_output_buffer
- gr::qtgui::time_sink_f
  mp_relative_rate
- gr::qtgui::time_sink_f
  msg_accepter
- gr::qtgui::time_sink_f
  msg_queue
- gr::qtgui::time_sink_f
  name
- gr::qtgui::time_sink_f
  nitems_read
- gr::qtgui::time_sink_f
  nitems_written
- gr::qtgui::time_sink_f
  nmsgs
- gr::qtgui::time_sink_f
  no_pc_rpc
- gr::qtgui::time_sink_f
  notify_msg_neighbors
- gr::qtgui::time_sink_f
  nsamps
- gr::qtgui::time_sink_f
  output_multiple
- gr::qtgui::time_sink_f
  output_multiple_set
- gr::qtgui::time_sink_f
  output_signature
- gr::qtgui::time_sink_f
  pc_input_buffers_full
- gr::qtgui::time_sink_f
  pc_input_buffers_full
- gr::qtgui::time_sink_f
  pc_input_buffers_full_avg
- gr::qtgui::time_sink_f
  pc_input_buffers_full_avg
- gr::qtgui::time_sink_f
  pc_input_buffers_full_var
- gr::qtgui::time_sink_f
  pc_input_buffers_full_var
- gr::qtgui::time_sink_f
  pc_noutput_items
- gr::qtgui::time_sink_f
  pc_noutput_items_avg
- gr::qtgui::time_sink_f
  pc_noutput_items_var
- gr::qtgui::time_sink_f
  pc_nproduced
- gr::qtgui::time_sink_f
  pc_nproduced_avg
- gr::qtgui::time_sink_f
  pc_nproduced_var
- gr::qtgui::time_sink_f
  pc_output_buffers_full
- gr::qtgui::time_sink_f
  pc_output_buffers_full
- gr::qtgui::time_sink_f
  pc_output_buffers_full_avg
- gr::qtgui::time_sink_f
  pc_output_buffers_full_avg
- gr::qtgui::time_sink_f
  pc_output_buffers_full_var
- gr::qtgui::time_sink_f
  pc_output_buffers_full_var
- gr::qtgui::time_sink_f
  pc_throughput_avg
- gr::qtgui::time_sink_f
  pc_work_time
- gr::qtgui::time_sink_f
  pc_work_time_avg
- gr::qtgui::time_sink_f
  pc_work_time_total
- gr::qtgui::time_sink_f
  pc_work_time_var
- gr::qtgui::time_sink_f
  post
- gr::qtgui::time_sink_f
  processor_affinity
- gr::qtgui::time_sink_f
  produce
- gr::qtgui::time_sink_f
  qwidget
- gr::qtgui::time_sink_f
  relative_rate
- gr::qtgui::time_sink_f
  relative_rate_d
- gr::qtgui::time_sink_f
  relative_rate_i
- gr::qtgui::time_sink_f
  remove_item_tag
- gr::qtgui::time_sink_f
  remove_item_tag
- gr::qtgui::time_sink_f
  replace_buffer
- gr::qtgui::time_sink_f
  reset
- gr::qtgui::time_sink_f
  reset_perf_counters
- gr::qtgui::time_sink_f
  rpc_set
- gr::qtgui::time_sink_f
  sample_delay
- gr::qtgui::time_sink_f
  set_alignment
- gr::qtgui::time_sink_f
  set_blkd_input_timer_value
- gr::qtgui::time_sink_f
  set_block_alias
- gr::qtgui::time_sink_f
  set_color
- gr::qtgui::time_sink_f
  set_detail
- gr::qtgui::time_sink_f
  set_fixed_rate
- gr::qtgui::time_sink_f
  set_history
- gr::qtgui::time_sink_f
  set_input_signature
- gr::qtgui::time_sink_f
  set_inverse_relative_rate
- gr::qtgui::time_sink_f
  set_is_unaligned
- gr::qtgui::time_sink_f
  set_line_alpha
- gr::qtgui::time_sink_f
  set_line_color
- gr::qtgui::time_sink_f
  set_line_label
- gr::qtgui::time_sink_f
  set_line_marker
- gr::qtgui::time_sink_f
  set_line_style
- gr::qtgui::time_sink_f
  set_line_width
- gr::qtgui::time_sink_f
  set_log_level
- gr::qtgui::time_sink_f
  set_max_noutput_items
- gr::qtgui::time_sink_f
  set_max_output_buffer
- gr::qtgui::time_sink_f
  set_max_output_buffer
- gr::qtgui::time_sink_f
  set_min_noutput_items
- gr::qtgui::time_sink_f
  set_min_output_buffer
- gr::qtgui::time_sink_f
  set_min_output_buffer
- gr::qtgui::time_sink_f
  set_msg_handler
- gr::qtgui::time_sink_f
  set_nsamps
- gr::qtgui::time_sink_f
  set_output_multiple
- gr::qtgui::time_sink_f
  set_output_signature
- gr::qtgui::time_sink_f
  set_processor_affinity
- gr::qtgui::time_sink_f
  set_relative_rate
- gr::qtgui::time_sink_f
  set_relative_rate
- gr::qtgui::time_sink_f
  set_samp_rate
- gr::qtgui::time_sink_f
  set_size
- gr::qtgui::time_sink_f
  set_tag_propagation_policy
- gr::qtgui::time_sink_f
  set_thread_priority
- gr::qtgui::time_sink_f
  set_title
- gr::qtgui::time_sink_f
  set_trigger_mode
- gr::qtgui::time_sink_f
  set_unaligned
- gr::qtgui::time_sink_f
  set_update_time
- gr::qtgui::time_sink_f
  set_y_axis
- gr::qtgui::time_sink_f
  set_y_label
- gr::qtgui::time_sink_f
  setup_pc_rpc
- gr::qtgui::time_sink_f
  setup_rpc
- gr::qtgui::time_sink_f
  shared_from_base
- gr::qtgui::time_sink_f
  sptr
- gr::qtgui::time_sink_f
  start
- gr::qtgui::time_sink_f
  stop
- gr::qtgui::time_sink_f
  symbol_name
- gr::qtgui::time_sink_f
  symbolic_id
- gr::qtgui::time_sink_f
  sync_block
- gr::qtgui::time_sink_f
  sync_block
- gr::qtgui::time_sink_f
  system_handler
- gr::qtgui::time_sink_f
  tag_propagation_policy
- gr::qtgui::time_sink_f
  tag_propagation_policy_t
- gr::qtgui::time_sink_f
  thread_priority
- gr::qtgui::time_sink_f
  title
- gr::qtgui::time_sink_f
  to_basic_block
- gr::qtgui::time_sink_f
  TPP_ALL_TO_ALL
- gr::qtgui::time_sink_f
  TPP_CUSTOM
- gr::qtgui::time_sink_f
  TPP_DONT
- gr::qtgui::time_sink_f
  TPP_ONE_TO_ONE
- gr::qtgui::time_sink_f
  unaligned
- gr::qtgui::time_sink_f
  unique_id
- gr::qtgui::time_sink_f
  unset_max_noutput_items
- gr::qtgui::time_sink_f
  unset_processor_affinity
- gr::qtgui::time_sink_f
  update_rate
- gr::qtgui::time_sink_f
  vcolor
- gr::qtgui::time_sink_f
  WHITE
- gr::qtgui::time_sink_f
  work
- gr::qtgui::time_sink_f
  WORK_CALLED_PRODUCE
- gr::qtgui::time_sink_f
  WORK_DONE
- gr::qtgui::time_sink_f
  work_return_t
- gr::qtgui::time_sink_f
  ~basic_block
- gr::qtgui::time_sink_f
  ~block
- gr::qtgui::time_sink_f
  ~msg_accepter