|
GNU Radio's CYBERRADIO Package
|
#include <NDR651_duc_sink_mk2_impl.h>
Public Member Functions | |
| NDR651_duc_sink_mk2_impl (const std::string &radio_host_name="", unsigned int radio_tcp_port=8617, unsigned int tengig_iface_index=1, float iq_scale_factor=1.0, unsigned int duc_channel=1, const std::string &duc_iface_string="eth0", unsigned int duc_rate_index=0, long duc_frequency=0, float duc_attenuation=0, unsigned int duc_tx_channels=0, double duc_tx_frequency=900, unsigned int duc_tx_attenuation=0, unsigned int duc_stream_id=40001, bool config_tx=false, bool debug=false, unsigned int fc_update_rate=20, bool use_udp=false, bool use_ring_buffer=false, unsigned int duchsPfThresh=25, unsigned int duchsPeThresh=24, unsigned int duchsPeriod=10, bool updatePE=false, int txinv_mode=0) | |
| ~NDR651_duc_sink_mk2_impl () | |
| std::string | get_radio_host_name () const |
| Gets the radio host name. More... | |
| int | get_radio_tcp_port () const |
| Gets the radio TCP port. More... | |
| std::vector< std::string > | get_tengig_iface_list () const |
| Gets the 10GigE interface list for the radio. More... | |
| void | set_radio_params (const std::string &radio_host_name, int radio_tcp_port, const std::vector< std::string > &tengig_iface_list) |
| Sets the radio parameters. More... | |
| float | get_iq_scale_factor () const |
| Gets the I/Q scale factor used for the radio. More... | |
| void | set_iq_scale_factor (float iq_scale_factor) |
| Sets the I/Q scale factor used for the radio. More... | |
| int | get_duc_channel () const |
| Gets the channel number for the DUC in use. More... | |
| void | set_duc_channel (int duc_channel) |
| Sets the channel number for the DUC in use. More... | |
| std::string | get_duc_iface_string () const |
| Gets the interface name for the DUC in use. More... | |
| int | get_duc_iface_index () const |
| Gets the interface index (one-based) for the DUC in use. More... | |
| void | set_duc_iface_string (const std::string &duc_iface_string) |
| Sets the interface name for the DUC in use. More... | |
| int | get_duc_rate_index () const |
| Gets the rate index (zero-based) for the DUC in use. More... | |
| void | set_duc_rate_index (int duc_rate_index) |
| Sets the rate index (zero-based) for the DUC in use. More... | |
| long | get_duc_frequency () const |
| Gets the frequency offset for the DUC in use. More... | |
| void | set_duc_frequency (long duc_frequency) |
| Sets the frequency offset for the DUC in use. More... | |
| void | set_duc_txinv_mode (int txinv_mode) |
| Sets the TX inversion mode for the DUC in use. More... | |
| float | get_duc_attenuation () const |
| Gets the attenuation for the DUC in use. More... | |
| void | set_duc_attenuation (float duc_attenuation) |
| Sets the attenuation for the DUC in use. More... | |
| unsigned int | get_duc_tx_channels () const |
| Gets the transmit channel mask for the DUC in use. More... | |
| void | set_duc_tx_channels (unsigned int duc_tx_channels) |
| Sets the transmit channel mask for the DUC in use. More... | |
| double | get_duc_tx_frequency () const |
| Gets the transmit center frequency (in MHz) for the DUC in use. More... | |
| void | set_duc_tx_frequency (double duc_tx_frequency) |
| Sets the transmit center frequency (in MHz) for the DUC in use. More... | |
| unsigned int | get_duc_tx_attenuation () const |
| Gets the transmit attenuation (in dB) for the DUC in use. More... | |
| void | set_duc_tx_attenuation (unsigned int duc_tx_attenuation) |
| Sets the transmit attenuation (in dB) for the DUC in use. More... | |
| unsigned int | get_duc_stream_id () const |
| Gets the VITA stream ID for the DUC. More... | |
| void | set_duc_stream_id (unsigned int duc_stream_id) |
| Sets the VITA stream ID for the DUC. More... | |
| long | get_duc_sample_rate () const |
| Gets the sample rate (in Hz) for the DUC in use, based on the rate index. More... | |
| void | set_duchs_pf_threshold (int duchsPfThresh) |
| void | set_duchs_pe_threshold (int duchsPeThresh) |
| void | set_duchs_period (int duchsPeriod) |
| void | set_duchs_update_pe (bool updatePE) |
| bool | start () |
| bool | stop () |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Additional Inherited Members | |
Public Types inherited from gr::CyberRadio::NDR651_duc_sink_mk2 | |
| typedef boost::shared_ptr< NDR651_duc_sink_mk2 > | sptr |
Static Public Member Functions inherited from gr::CyberRadio::NDR651_duc_sink_mk2 | |
| static sptr | make (const std::string &radio_host_name="", unsigned int radio_tcp_port=8617, unsigned int tengig_iface_index=1, float iq_scale_factor=1.0, unsigned int duc_channel=0, const std::string &duc_iface_string="eth0", unsigned int duc_rate_index=0, long duc_frequency=0, float duc_attenuation=0, unsigned int duc_tx_channels=0, double duc_tx_frequency=900, unsigned int duc_tx_attenuation=0, unsigned int duc_stream_id=40001, bool config_tx=false, bool debug=false, unsigned int duchsPfThresh=25, unsigned int duchsPeThresh=24, unsigned int duchsPeriod=10, bool updatePE=false, int txinv_mode=0) |
| Creates an NDR651_duc_sink_mk2 block. More... | |
| gr::CyberRadio::NDR651_duc_sink_mk2_impl::NDR651_duc_sink_mk2_impl | ( | const std::string & | radio_host_name = "", |
| unsigned int | radio_tcp_port = 8617, |
||
| unsigned int | tengig_iface_index = 1, |
||
| float | iq_scale_factor = 1.0, |
||
| unsigned int | duc_channel = 1, |
||
| const std::string & | duc_iface_string = "eth0", |
||
| unsigned int | duc_rate_index = 0, |
||
| long | duc_frequency = 0, |
||
| float | duc_attenuation = 0, |
||
| unsigned int | duc_tx_channels = 0, |
||
| double | duc_tx_frequency = 900, |
||
| unsigned int | duc_tx_attenuation = 0, |
||
| unsigned int | duc_stream_id = 40001, |
||
| bool | config_tx = false, |
||
| bool | debug = false, |
||
| unsigned int | fc_update_rate = 20, |
||
| bool | use_udp = false, |
||
| bool | use_ring_buffer = false, |
||
| unsigned int | duchsPfThresh = 25, |
||
| unsigned int | duchsPeThresh = 24, |
||
| unsigned int | duchsPeriod = 10, |
||
| bool | updatePE = false, |
||
| int | txinv_mode = 0 |
||
| ) |
| gr::CyberRadio::NDR651_duc_sink_mk2_impl::~NDR651_duc_sink_mk2_impl | ( | ) |
|
virtual |
Gets the attenuation for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the channel number for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the frequency offset for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the interface index (one-based) for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the interface name for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the rate index (zero-based) for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the sample rate (in Hz) for the DUC in use, based on the rate index.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the VITA stream ID for the DUC.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the transmit attenuation (in dB) for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the transmit channel mask for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the transmit center frequency (in MHz) for the DUC in use.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the I/Q scale factor used for the radio.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Gets the radio host name.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
|
virtual |
Gets the 10GigE interface list for the radio.
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the attenuation for the DUC in use.
| duc_attenuation | The attenuation for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the channel number for the DUC in use.
| duc_channel | The channel number for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the frequency offset for the DUC in use.
| duc_frequency | The frequency offset for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the interface name for the DUC in use.
| duc_iface_string | The interface string for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the rate index (zero-based) for the DUC in use.
| duc_rate_index | The rate index for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the VITA stream ID for the DUC.
| duc_stream_id | The stream ID. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the transmit attenuation (in dB) for the DUC in use.
| duc_tx_attenuation | The transmit attenuation for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the transmit channel mask for the DUC in use.
| duc_tx_channels | The transmit channel mask for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the transmit center frequency (in MHz) for the DUC in use.
| duc_tx_frequency | The transmit center frequency for the DUC in use. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the TX inversion mode for the DUC in use.
| txinv_mode | 1 to enable tx inversion, 0 to disable. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the I/Q scale factor used for the radio.
| iq_scale_factor | The scale factor. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
|
virtual |
Sets the radio parameters.
| radio_host_name | The radio host name. If this is an empty string, then the block will disconnect any existing connection and not attempt to connect to a radio. |
| radio_tcp_port | The radio TCP port. |
| tengig_iface_list | The list of 10GigE interface names. |
Implements gr::CyberRadio::NDR651_duc_sink_mk2.
| bool gr::CyberRadio::NDR651_duc_sink_mk2_impl::start | ( | ) |
| bool gr::CyberRadio::NDR651_duc_sink_mk2_impl::stop | ( | ) |
| int gr::CyberRadio::NDR651_duc_sink_mk2_impl::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) |