|
GNU Radio's CYBERRADIO Package
|
Digital upconverter (DUC) transmission sink block for the NDR651 (Mk2). More...
#include <NDR651_duc_sink_mk2.h>
Public Types | |
| typedef boost::shared_ptr< NDR651_duc_sink_mk2 > | sptr |
Public Member Functions | |
| virtual std::string | get_radio_host_name () const =0 |
| Gets the radio host name. More... | |
| virtual int | get_radio_tcp_port () const =0 |
| Gets the radio TCP port. More... | |
| virtual std::vector< std::string > | get_tengig_iface_list () const =0 |
| Gets the 10GigE interface list for the radio. More... | |
| virtual void | set_radio_params (const std::string &radio_host_name, int radio_tcp_port, const std::vector< std::string > &tengig_iface_list)=0 |
| Sets the radio parameters. More... | |
| virtual float | get_iq_scale_factor () const =0 |
| Gets the I/Q scale factor used for the radio. More... | |
| virtual void | set_iq_scale_factor (float iq_scale_factor)=0 |
| Sets the I/Q scale factor used for the radio. More... | |
| virtual int | get_duc_channel () const =0 |
| Gets the channel number for the DUC in use. More... | |
| virtual void | set_duc_channel (int duc_channel)=0 |
| Sets the channel number for the DUC in use. More... | |
| virtual std::string | get_duc_iface_string () const =0 |
| Gets the interface name for the DUC in use. More... | |
| virtual int | get_duc_iface_index () const =0 |
| Gets the interface index (one-based) for the DUC in use. More... | |
| virtual void | set_duc_iface_string (const std::string &duc_iface_string)=0 |
| Sets the interface name for the DUC in use. More... | |
| virtual int | get_duc_rate_index () const =0 |
| Gets the rate index (zero-based) for the DUC in use. More... | |
| virtual void | set_duc_rate_index (int duc_rate_index)=0 |
| Sets the rate index (zero-based) for the DUC in use. More... | |
| virtual long | get_duc_frequency () const =0 |
| Gets the frequency offset for the DUC in use. More... | |
| virtual void | set_duc_frequency (long duc_frequency)=0 |
| Sets the frequency offset for the DUC in use. More... | |
| virtual void | set_duc_txinv_mode (int txinv_mode)=0 |
| Sets the TX inversion mode for the DUC in use. More... | |
| virtual float | get_duc_attenuation () const =0 |
| Gets the attenuation for the DUC in use. More... | |
| virtual void | set_duc_attenuation (float duc_attenuation)=0 |
| Sets the attenuation for the DUC in use. More... | |
| virtual unsigned int | get_duc_tx_channels () const =0 |
| Gets the transmit channel mask for the DUC in use. More... | |
| virtual void | set_duc_tx_channels (unsigned int duc_tx_channels)=0 |
| Sets the transmit channel mask for the DUC in use. More... | |
| virtual double | get_duc_tx_frequency () const =0 |
| Gets the transmit center frequency (in MHz) for the DUC in use. More... | |
| virtual void | set_duc_tx_frequency (double duc_tx_frequency)=0 |
| Sets the transmit center frequency (in MHz) for the DUC in use. More... | |
| virtual unsigned int | get_duc_tx_attenuation () const =0 |
| Gets the transmit attenuation (in dB) for the DUC in use. More... | |
| virtual void | set_duc_tx_attenuation (unsigned int duc_tx_attenuation)=0 |
| Sets the transmit attenuation (in dB) for the DUC in use. More... | |
| virtual unsigned int | get_duc_stream_id () const =0 |
| Gets the VITA stream ID for the DUC. More... | |
| virtual void | set_duc_stream_id (unsigned int duc_stream_id)=0 |
| Sets the VITA stream ID for the DUC. More... | |
| virtual long | get_duc_sample_rate () const =0 |
| Gets the sample rate (in Hz) for the DUC in use, based on the rate index. More... | |
| virtual void | set_duchs_pf_threshold (int duchsPfThresh)=0 |
| virtual void | set_duchs_pe_threshold (int duchsPeThresh)=0 |
| virtual void | set_duchs_period (int duchsPeriod)=0 |
| virtual void | set_duchs_update_pe (bool updatePE)=0 |
Static Public Member Functions | |
| 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... | |
Digital upconverter (DUC) transmission sink block for the NDR651 (Mk2).
The NDR651_duc_sink_mk2 block represents a single digital upconverter (DUC) on an NDR651 radio, and transmits the signal sent to its input.
To use more than one DUC on the NDR651, use multiple sinks, one for each DUC.
| typedef boost::shared_ptr<NDR651_duc_sink_mk2> gr::CyberRadio::NDR651_duc_sink_mk2::sptr |
|
pure virtual |
Gets the attenuation for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the channel number for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the frequency offset for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the interface index (one-based) for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the interface name for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the rate index (zero-based) for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the sample rate (in Hz) for the DUC in use, based on the rate index.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the VITA stream ID for the DUC.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the transmit attenuation (in dB) for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the transmit channel mask for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the transmit center frequency (in MHz) for the DUC in use.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the I/Q scale factor used for the radio.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the radio host name.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the radio TCP port.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Gets the 10GigE interface list for the radio.
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
static |
Creates an NDR651_duc_sink_mk2 block.
| radio_host_name | The radio host name. If this is an empty string, then the block will not connect to a radio. |
| radio_tcp_port | The radio TCP port. |
| tengig_iface_index | The index of the 10 gig interface |
| iq_scale_factor | Scale factor for coverting I/Q data from complex input to native sample format. |
| duc_channel | The channel number for the DUC in use. |
| duc_iface_string | The interface string for the DUC in use. |
| duc_rate_index | The rate index for the DUC in use. |
| duc_frequency | The frequency offset for the DUC in use. |
| duc_attenuation | The attenuation for the DUC in use. |
| duc_tx_channels | The transmit channel mask for the DUC in use. |
| duc_tx_frequency | The transmit center frequency for the DUC in use. |
| duc_tx_attenuation | The transmit attenuation for the DUC in use. |
| duc_stream_id | The stream ID/UDP port for the DUC in use. |
| config_tx | The configured tx device |
| debug | Whether the block should produce debug output. Defaults to False. |
| duchsPfThresh | Pf Threshold |
| duchsPeThresh | Pe Threshold |
| duchsPeriod | period |
| updatePE | PE update flag |
| txinv_mode | transmitter mode |
|
pure virtual |
Sets the attenuation for the DUC in use.
| duc_attenuation | The attenuation for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the channel number for the DUC in use.
| duc_channel | The channel number for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the frequency offset for the DUC in use.
| duc_frequency | The frequency offset for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the interface name for the DUC in use.
| duc_iface_string | The interface string for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the rate index (zero-based) for the DUC in use.
| duc_rate_index | The rate index for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the VITA stream ID for the DUC.
| duc_stream_id | The stream ID. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the transmit attenuation (in dB) for the DUC in use.
| duc_tx_attenuation | The transmit attenuation for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the transmit channel mask for the DUC in use.
| duc_tx_channels | The transmit channel mask for the DUC in use. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure 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. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the TX inversion mode for the DUC in use.
| txinv_mode | 1 to enable tx inversion, 0 to disable. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure virtual |
Sets the I/Q scale factor used for the radio.
| iq_scale_factor | The scale factor. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.
|
pure 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. |
Implemented in gr::CyberRadio::NDR651_duc_sink_mk2_impl.