Re: [Discuss-gnuradio] GNURadio OOT vector input/output with different size

2017-07-20 Thread Ali
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,

Re: [Discuss-gnuradio] GNURadio OOT vector input/output with different size

2017-07-20 Thread Patrick Sathyanathan
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:

[Discuss-gnuradio] Using two USRPs - how to synchronise a receiver (scan a range of frequencies) looking for a transmitter which is transmitting on a specific frequency

2017-07-20 Thread neil shelley
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

Re: [Discuss-gnuradio] whats the relationship between the USRP and samp_rate?

2017-07-20 Thread Derek Kozel
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

[Discuss-gnuradio] whats the relationship between the USRP and samp_rate?

2017-07-20 Thread kid
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

Re: [Discuss-gnuradio] GNURadio OOT vector input/output with different size

2017-07-20 Thread Ali
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