gnuradio.blocks: ControlPort

gnuradio.blocks.ctrlport_probe2_c(std::string const & id, std::string const & desc, int len, unsigned int disp_mask) → ctrlport_probe2_c_sptr

A ControlPort probe to export vectors of signals.

This block acts as a sink in the flowgraph but also exports vectors of complex samples over ControlPort. This block holds the latest number of complex samples so that every query by a ControlPort client will get the same length vector.

Constructor Specific Documentation:

Make a ControlPort probe block.

Parameters:
  • id – A string ID to name the probe over ControlPort.
  • desc – A string describing the probe.
  • len – Number of samples to transmit.
  • disp_mask – Mask to set default display params.
ctrlport_probe2_c_sptr.active_thread_priority(ctrlport_probe2_c_sptr self) → int
ctrlport_probe2_c_sptr.declare_sample_delay(ctrlport_probe2_c_sptr self, int which, int delay)

declare_sample_delay(ctrlport_probe2_c_sptr self, unsigned int delay)

ctrlport_probe2_c_sptr.get(ctrlport_probe2_c_sptr self) → pmt_vector_cfloat
ctrlport_probe2_c_sptr.message_subscribers(ctrlport_probe2_c_sptr self, swig_int_ptr which_port) → swig_int_ptr
ctrlport_probe2_c_sptr.min_noutput_items(ctrlport_probe2_c_sptr self) → int
ctrlport_probe2_c_sptr.pc_input_buffers_full_avg(ctrlport_probe2_c_sptr self, int which) → float

pc_input_buffers_full_avg(ctrlport_probe2_c_sptr self) -> pmt_vector_float

ctrlport_probe2_c_sptr.pc_noutput_items_avg(ctrlport_probe2_c_sptr self) → float
ctrlport_probe2_c_sptr.pc_nproduced_avg(ctrlport_probe2_c_sptr self) → float
ctrlport_probe2_c_sptr.pc_output_buffers_full_avg(ctrlport_probe2_c_sptr self, int which) → float

pc_output_buffers_full_avg(ctrlport_probe2_c_sptr self) -> pmt_vector_float

ctrlport_probe2_c_sptr.pc_work_time_avg(ctrlport_probe2_c_sptr self) → float
ctrlport_probe2_c_sptr.pc_work_time_total(ctrlport_probe2_c_sptr self) → float
ctrlport_probe2_c_sptr.sample_delay(ctrlport_probe2_c_sptr self, int which) → unsigned int
ctrlport_probe2_c_sptr.set_length(ctrlport_probe2_c_sptr self, int len)
ctrlport_probe2_c_sptr.set_min_noutput_items(ctrlport_probe2_c_sptr self, int m)
ctrlport_probe2_c_sptr.set_thread_priority(ctrlport_probe2_c_sptr self, int priority) → int
ctrlport_probe2_c_sptr.thread_priority(ctrlport_probe2_c_sptr self) → int
gnuradio.blocks.ctrlport_probe_c(std::string const & id, std::string const & desc) → ctrlport_probe_c_sptr

A ControlPort probe to export vectors of signals.

This block acts as a sink in the flowgraph but also exports vectors of complex samples over ControlPort. This block simply sends the current vector held in the work function when the queried by a ControlPort client.

Constructor Specific Documentation:

Make a ControlPort probe block.

Parameters:
  • id – A string ID to name the probe over ControlPort.
  • desc – A string describing the probe.
ctrlport_probe_c_sptr.active_thread_priority(ctrlport_probe_c_sptr self) → int
ctrlport_probe_c_sptr.declare_sample_delay(ctrlport_probe_c_sptr self, int which, int delay)

declare_sample_delay(ctrlport_probe_c_sptr self, unsigned int delay)

ctrlport_probe_c_sptr.get(ctrlport_probe_c_sptr self) → pmt_vector_cfloat
ctrlport_probe_c_sptr.message_subscribers(ctrlport_probe_c_sptr self, swig_int_ptr which_port) → swig_int_ptr
ctrlport_probe_c_sptr.min_noutput_items(ctrlport_probe_c_sptr self) → int
ctrlport_probe_c_sptr.pc_input_buffers_full_avg(ctrlport_probe_c_sptr self, int which) → float

pc_input_buffers_full_avg(ctrlport_probe_c_sptr self) -> pmt_vector_float

ctrlport_probe_c_sptr.pc_noutput_items_avg(ctrlport_probe_c_sptr self) → float
ctrlport_probe_c_sptr.pc_nproduced_avg(ctrlport_probe_c_sptr self) → float
ctrlport_probe_c_sptr.pc_output_buffers_full_avg(ctrlport_probe_c_sptr self, int which) → float

pc_output_buffers_full_avg(ctrlport_probe_c_sptr self) -> pmt_vector_float

ctrlport_probe_c_sptr.pc_work_time_avg(ctrlport_probe_c_sptr self) → float
ctrlport_probe_c_sptr.pc_work_time_total(ctrlport_probe_c_sptr self) → float
ctrlport_probe_c_sptr.sample_delay(ctrlport_probe_c_sptr self, int which) → unsigned int
ctrlport_probe_c_sptr.set_min_noutput_items(ctrlport_probe_c_sptr self, int m)
ctrlport_probe_c_sptr.set_thread_priority(ctrlport_probe_c_sptr self, int priority) → int
ctrlport_probe_c_sptr.thread_priority(ctrlport_probe_c_sptr self) → int

Previous topic

gnuradio.blocks: Streams Operators

Next topic

gnuradio.blocks: Math Operators

This Page