Carrier signal dropping

Hello,
I hooked my usrp2 up to a spectrum analyzer and tried using the signal
generator in gr-utils to see what I could get. The carrier signal
seems to be turning on and off and I’m getting a lot of peaks at
various frequencies probably from the carrier turning back on. Is this
a code issue, normal behavior, or something I’m doing wrong?

On Wed, Jan 06, 2010 at 03:44:26PM -0500, Charles I. wrote:

Hello,
I hooked my usrp2 up to a spectrum analyzer and tried using the signal
generator in gr-utils to see what I could get. The carrier signal
seems to be turning on and off and I’m getting a lot of peaks at
various frequencies probably from the carrier turning back on. Is this
a code issue, normal behavior, or something I’m doing wrong?

Exactly what command line did you use?
What version of GNU Radio?
Did it complain about not being able to enable real-time scheduling?
What OS, distribution, hardware?

In general, we can be of more use to you if you follow these tips:

http://gnuradio.org/redmine/wiki/gnuradio/ReportingErrors

Eric

On Wed, Jan 06, 2010 at 04:32:21PM -0500, Charles I. wrote:

It seems to work fine as root. I’m guess the tx fifo was emptying
without scheduling? Is there anywhere that I can read up on this
real-time scheduling because I will definitely need to solve some
similar issues in the future.

Edit /etc/security/limits.conf and add this line:

@usrp - rtprio 50

make sure that your user is a member of group usrp, then logout and back
in.

Eric

My apologies,
Distro: Ubuntu 9.04
Kernel: 2.6.28-17-generic
GNU Radio version: I’m pretty sure it’s 3.2.2, I’m using the dev trunk
but svn doesn’t seem to allow me to update right now.

It is indeed complaining about not being able to enable real-time
scheduling. Since you asked I assumed this was the issue and looked it
up. It turns out even though I set up the USRP2 to run as non-root by
changing the permissions of usrp2_socket_opener, this was the issue.
It seems to work fine as root. I’m guess the tx fifo was emptying
without scheduling? Is there anywhere that I can read up on this
real-time scheduling because I will definitely need to solve some
similar issues in the future.

Eric B. wrote:


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

This looked like a good one for the FAQ, so I’ve added this to the
USRP2UserFAQ page in the redmine wiki.
Doug


Douglas G.
Code 5545
U.S. Naval Research Laboratory
Washington, DC 20375
(202) 767-9048
[email protected]

On Thu, Jan 7, 2010 at 06:45, Doug G. [email protected]
wrote:

Edit /etc/security/limits.conf and add this line:

@usrp - rtprio 50

make sure that your user is a member of group usrp, then logout and back
in.

This looked like a good one for the FAQ, so I’ve added this to the
USRP2UserFAQ page in the redmine wiki.

FYI, when installing from the pre-compiled packages for Ubuntu, this
is done for you already.

Johnathan

FYI, the new git repo doesn’t seem to have usrp2_siggen.py under
gr-utils. usrp_siggen.py seems to work in the same way with minor
differences but the naming makes it seem like it’s for the original
usrp. I probably wouldn’t have thought it was compatible if I was just
poking around for the first time.

Charles

On Thu, Jan 07, 2010 at 09:45:42AM -0500, Doug G. wrote:

Eric B. wrote:

Edit /etc/security/limits.conf and add this line:

@usrp - rtprio 50

make sure that your user is a member of group usrp, then logout and back in.

Eric

This looked like a good one for the FAQ, so I’ve added this to the
USRP2UserFAQ page in the redmine wiki.
Doug

Thanks Doug!

Eric