#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include
#include "block_name_impl.h"
#include "function.h"
namespace gr {
namespace module {
block_name::sptr
block_name::make(float parameter)
{
return gnuradio::get_initial_sptr
(new block_name_impl(parameter));
}
/*
*
Hi,
Patrick's code does not work since I think I am using c++98. I dont know
how to enable c++11. Anyway for c++98 I wrote the followings(I found on the
internet):
-->
int myints[] = {4000,4000,4000,4000,4000,4000,4000,4000};
const std::vector inputs (myints, myints+sizeof(myints)/sizeof(float));
Try this instead:
const std::vector inputs{4000,4000,4000,4000,4000,4000,4000,4000};
and make sure you compile with c++11 enabled.
--Patrick
From: Discuss-gnuradio on
behalf of Ali <03do...@gmail.com>
Sent: Thursday, July 20, 2017 12:13 AM
To: discuss-gnuradi
Hi all,
We are currently doing a project, which aims to look for white space over a
chosen frequency range, automatically select the best channel (considering a 1
Mhz span with 5 channels, each of 200kHz). The transmitter would tune to the
centre frequency of this best channel, and the receiv
Hello,
A good place to start is the UHD manual which talks about sample rate. If
you have more specific questions it would be helpful if you can add more
detail to your question.
http://files.ettus.com/manual/page_general.html#general_sampleratenotes
Also, you've posted your question using the Na
hi,may be my question sounds a little stupid,but i have no way.
--
View this message in context:
http://gnuradio.4.n7.nabble.com/whats-the-relationship-between-the-USRP-and-samp-rate-tp64529.html
Sent from the GnuRadio mailing list archive at Nabble.com._
Hi,
I dont have any background about C++. So I could not generate the
std::vector with the desired content and could not fınd anything on
the internet.
const std::vector inputs[] = {4000,4000,4000,4000,4000,4000,4000,4000};
does not work. I am getting the following error:
"conversion from 'int'