GNU Radio 3.5.1 C++ API
|
Go to the source code of this file.
Classes | |
struct | uhd::stream_args_t |
class | uhd_usrp_source |
Namespaces | |
namespace | uhd |
Defines | |
#define | INCLUDED_UHD_STREAM_HPP |
Functions | |
GR_UHD_API boost::shared_ptr < uhd_usrp_source > | uhd_make_usrp_source (const uhd::device_addr_t &device_addr, const uhd::io_type_t &io_type, size_t num_channels) |
Make a new USRP source block.The USRP source block receives samples and writes to a stream. The source block also provides API calls for receiver settings. | |
GR_UHD_API boost::shared_ptr < uhd_usrp_source > | uhd_make_usrp_source (const uhd::device_addr_t &device_addr, const uhd::stream_args_t &stream_args) |
Make a new USRP source block. |
#define INCLUDED_UHD_STREAM_HPP |
GR_UHD_API boost::shared_ptr<uhd_usrp_source> uhd_make_usrp_source | ( | const uhd::device_addr_t & | device_addr, |
const uhd::stream_args_t & | stream_args | ||
) |
Make a new USRP source block.
The USRP source block receives samples and writes to a stream. The source block also provides API calls for receiver settings.
RX Stream tagging:
The following tag keys will be produced by the work function:
The timstamp tag value is a pmt tuple of the following: (uint64 seconds, and double fractional seconds). A timestamp tag is produced at start() and after overflows.
See the UHD manual for more detailed documentation: http://code.ettus.com/redmine/ettus/projects/uhd/wiki
device_addr | the address to identify the hardware |
stream_args | the IO format and channel specification |