Re: [Discuss-gnuradio] UHD example on USRP1 - Buffering

2011-02-16 Thread Josh Blum
On 02/16/2011 02:50 AM, Sivaramakrishnan B C wrote: > Hi All, > > I was wondering if there is any buffering happening on the host and/or on > the USRP (USRP1 and N210) when the UHD send() and recv() methods are called? > Yes of course. There are buffers in the host and device (fifos). -josh

Re: [Discuss-gnuradio] UHD example on USRP1 - Buffering

2011-02-16 Thread Sivaramakrishnan B C
Hi All, I was wondering if there is any buffering happening on the host and/or on the USRP (USRP1 and N210) when the UHD send() and recv() methods are called? Thanks, Shiva On Thu, Feb 3, 2011 at 10:40 AM, Josh Blum wrote: > > > 1. What is the parameter --spb, samples per buffer. And generall

Re: [Discuss-gnuradio] UHD example using USRP1

2011-02-03 Thread Marcus D. Leech
On 02/03/2011 09:44 PM, Shiva ? wrote: > Hi All, > > I'm using 2 USRP1s to send and receive a simple sine wave using UHD. > The TX/RX frequencies are 2.45 GHz as I have RFX 2400 as daughterboards. > > I use the UHD example tx_waveforms to transmit a sine wave of 10 kHz, > sample rate 250ksps. I rec

[Discuss-gnuradio] UHD example using USRP1

2011-02-03 Thread Shiva ∞
Hi All, I'm using 2 USRP1s to send and receive a simple sine wave using UHD. The TX/RX frequencies are 2.45 GHz as I have RFX 2400 as daughterboards. I use the UHD example tx_waveforms to transmit a sine wave of 10 kHz, sample rate 250ksps. I received the waveform at the other end using the UHD e

Re: [Discuss-gnuradio] UHD example on USRP1

2011-02-03 Thread Shiva ∞
Hi Josh, Thanks for the reply. Also, I want to know if this is correct: While we are working with signals on the host PC, we're using complex float 64 bit data. This means we have 32 bit I data and 32 bit Q data. But when the USRP code (UHD or Gnuradio USRP code) on the host PC sends this data

Re: [Discuss-gnuradio] UHD example on USRP1

2011-02-03 Thread Josh Blum
> Also, I want to know if this is correct: While we are working with signals > on the host PC, we're using complex float 64 bit data. This means we have 32 > bit I data and 32 bit Q data. But when the USRP code (UHD or Gnuradio USRP > code) on the host PC sends this data to the USRP, it converts

Re: [Discuss-gnuradio] UHD example on USRP1

2011-02-03 Thread Josh Blum
> 1. What is the parameter --spb, samples per buffer. And generally, what is > this buffer? This is the buffer that the application fills with samples, and passes into the call device->send() > 2. What is the relationship between spb (sample per buffer), duration > (number of seconds to transmit

[Discuss-gnuradio] UHD example on USRP1

2011-02-03 Thread Shiva ∞
Hello All, I have a USRP1. I'm trying to run the tx_waveforms UHD example. While using tx_waveforms, we have some parameters we nwwd to provide at the command line. 1. What is the parameter --spb, samples per buffer. And generally, what is this buffer? 2. What is the relationship between spb (s

Re: [Discuss-gnuradio] UHD example

2010-07-22 Thread Josh Blum
Your possible rates are 100e6 divided by the following numbers representing interpolation and decimation: _USRP2_RATES = range(4, 128+1, 1) + range(130, 256+1, 2) + range(260, 512+1, 4) I think the general theme of your issues are that the call to recv() is always timing out. I would like to k

Re: [Discuss-gnuradio] UHD example

2010-07-22 Thread Elvis Dowson
Hi Josh,                   Yes, I forgot about that, it's just that the default sample rate in GRC was set to 32k, and I overlooked that. I've pulled in and compiled the latest SRCREVs from both the gnuradio and ettus uhd repositories, on Fedora 12.I've set it to 100 Msps, and connected it to a Nul

Re: [Discuss-gnuradio] UHD example

2010-07-22 Thread Elvis Dowson
Hi Josh,                   Yes, I forgot about that, it's just that the default sample rate in GRC was set to 32k, and I overlooked that. I've pulled in and compiled the latest SRCREVs from both the gnuradio and ettus uhd repositories, on Fedora 12.I've set it to 100 Msps, and connected it to a Nul

Re: [Discuss-gnuradio] UHD example

2010-07-21 Thread Josh Blum
On 07/21/2010 10:36 PM, Elvis Dowson wrote: Hi Philip and Per, On Jul 19, 2010, at 5:57 PM, Philip Balister wrote: http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/repository/revisions/master/show/host/examples The C++ examples in that folder wasn't helpful, since a. it isn't

Re: [Discuss-gnuradio] UHD example

2010-07-21 Thread Elvis Dowson
Hi Philip and Per,On Jul 19, 2010, at 5:57 PM, Philip Balister wrote:http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/repository/revisions/master/show/host/examplesThe C++ examples in that folder wasn't helpful, since a. it isn't readily apparent how to take that information and use it t

Re: [Discuss-gnuradio] UHD example

2010-07-19 Thread Philip Balister
On 07/19/2010 07:25 AM, Elvis Dowson wrote: Hi Josh, I hope you're doing fine! I was wondering if you have an UHD example that you can share with me? I couldn't find any such example on the net, and I just need a simple starting point, to bring data from the USRP2 using UHD.

Re: [Discuss-gnuradio] UHD example

2010-07-19 Thread Elvis Dowson
Hi Josh, I hope you're doing fine! I was wondering if you have an UHD example that you can share with me? I couldn't find any such example on the net, and I just need a simple starting point, to bring data from the USRP2 using UHD. best regards, Elvis Dowson ___

Re: [Discuss-gnuradio] UHD example

2010-07-16 Thread Elvis Dowson
Hi Josh, I keep getting this error; gr_block_executor: source produced no output. We're marking it DONE. What does this mean? Best regards, Elvis Dowson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu

Re: [Discuss-gnuradio] UHD example

2010-07-16 Thread Elvis Dowson
Hi Josh, On Jul 16, 2010, at 9:09 PM, Josh Blum wrote: > This is a bug in the wbx reference divider code. It will be fixed soon. What > frequency were you requesting? I was entering 1e6 (100 Hz), which was an incorrect value I guess, since the WBX cannot receive 1 MHz, which resulted in th

Re: [Discuss-gnuradio] UHD example

2010-07-16 Thread Josh Blum
This is a bug in the wbx reference divider code. It will be fixed soon. What frequency were you requesting? -Josh RFdiv 32 terminate called after throwing an instance of 'std::invalid_argument' what(): key not found in dict Aborted On 07/16/2010 08:16 AM, Elvis Dowson wrote: Hi,

[Discuss-gnuradio] UHD example

2010-07-16 Thread Elvis Dowson
Hi, I used a UHD Simple Source and connected it to a Null Sink, using grc, and got the following error: Generating: "/home/elvis/Desktop/grc-examples/top_block.py" Executing: "/home/elvis/Desktop/grc-examples/top_block.py" Current recv sock buff size: 5000 bytes Current send sock bu