Send USRP-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."
Today's Topics:
1. When does uhd::rx_streamer::recv return 0? (Sivan Toledo)
2. Re: When does uhd::rx_streamer::recv return 0? (Sivan Toledo)
3. Re: FPGA documentation (Josh Blum)
4. Re: FPGA documentation (Fernando Quivira)
5. Using a sleep function after receiving data from USRP
(Fernando Quivira)
----------------------------------------------------------------------
Message: 1
Date: Sun, 3 Feb 2013 20:39:16 +0200
From: Sivan Toledo <[email protected]>
To: [email protected]
Subject: [USRP-users] When does uhd::rx_streamer::recv return 0?
Message-ID:
<caol_rugns9wej9i2fgf_bubxybpqunrpvies_g57rf_pnjj...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I have a code that reads continuously from a USRP N200 using UHD. Normally
I always get the same number of samples in each call to recv, the number
that was reported as the maximum per packet.
I installed UHD and my code on a new machine (I think it's a newer version
of UHD) and now I sometimes get 0 from recv. The documentation says that
the method returns the number of samples received or 0 on error.
How do I find out what the error is? Is it possible to know that the method
returned with 0 because of a timeout?
Thanks, Sivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130203/5c366880/attachment-0001.html>
------------------------------
Message: 2
Date: Sun, 3 Feb 2013 20:42:55 +0200
From: Sivan Toledo <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] When does uhd::rx_streamer::recv return 0?
Message-ID:
<CAOL_ruHD8M6MmLGqN_Es=hcT-xiJKq8J_phsf6KVyMVYu=z...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I think I got it: the error code is in the metadata structure. Sorry for
disturbing everybody.
Sivan
On Sun, Feb 3, 2013 at 8:39 PM, Sivan Toledo <[email protected]> wrote:
> I have a code that reads continuously from a USRP N200 using UHD. Normally
> I always get the same number of samples in each call to recv, the number
> that was reported as the maximum per packet.
>
> I installed UHD and my code on a new machine (I think it's a newer version
> of UHD) and now I sometimes get 0 from recv. The documentation says that
> the method returns the number of samples received or 0 on error.
>
> How do I find out what the error is? Is it possible to know that the
> method returned with 0 because of a timeout?
>
> Thanks, Sivan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130203/63fa3534/attachment-0001.html>
------------------------------
Message: 3
Date: Sun, 03 Feb 2013 13:24:39 -0600
From: Josh Blum <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] FPGA documentation
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On 02/02/2013 05:17 PM, Fernando Quivira wrote:
> Hi everyone:
>
> I'm trying to understand how the FPGA code works for the N210. More
> specifically, I was reading the signal processing code in the sdr_lib
> folder. Is there more documentation about this codes somewhere in the repo?
Start here:
http://code.ettus.com/redmine/ettus/projects/uhd/repository/revisions/master/entry/fpga/README.txt
Each top level design is in usrp2/top/project. You can see where the dsp
chains tie into the radio and transport, and internal routing.
-josh
>
> Thanks
>
> - Fernando
>
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
------------------------------
Message: 4
Date: Mon, 4 Feb 2013 11:18:57 -0500
From: Fernando Quivira <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [USRP-users] FPGA documentation
Message-ID:
<cad6+ukkiwaujklh59rdowa6_medu-gq_6c3gggvouzyymxu...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Thanks. I'll try to figure out the modules
- Fernando
On Sun, Feb 3, 2013 at 2:24 PM, Josh Blum <[email protected]> wrote:
>
>
> On 02/02/2013 05:17 PM, Fernando Quivira wrote:
> > Hi everyone:
> >
> > I'm trying to understand how the FPGA code works for the N210. More
> > specifically, I was reading the signal processing code in the sdr_lib
> > folder. Is there more documentation about this codes somewhere in the
> repo?
>
> Start here:
>
> http://code.ettus.com/redmine/ettus/projects/uhd/repository/revisions/master/entry/fpga/README.txt
>
> Each top level design is in usrp2/top/project. You can see where the dsp
> chains tie into the radio and transport, and internal routing.
>
> -josh
>
> >
> > Thanks
> >
> > - Fernando
> >
> >
> >
> > _______________________________________________
> > USRP-users mailing list
> > [email protected]
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130204/a4524deb/attachment-0001.html>
------------------------------
Message: 5
Date: Mon, 4 Feb 2013 11:22:28 -0500
From: Fernando Quivira <[email protected]>
To: [email protected]
Subject: [USRP-users] Using a sleep function after receiving data from
USRP
Message-ID:
<cad6+ukkwozwjx9nje697hvppzt-u6ojynm4hxc9cwf7pcuq...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi all:
I want to use UHD in a multithreaded aplication. Basically, I want a thread
to handle getting data from the USRP and other threads handling processing.
In order to have the timings correctly, should I add a sleep statement
every time I receive data from the USRP? or is the recv method blocking in
that regard?
Thanks
- Fernando
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130204/83cec9f0/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
------------------------------
End of USRP-users Digest, Vol 30, Issue 4
*****************************************