discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] USRP locks?


From: Thomas Schmid
Subject: [Discuss-gnuradio] USRP locks?
Date: Wed, 24 May 2006 12:52:12 -0700

Hi,

I experience some problems with my USRP and the RFX2400. When I run a
simple program to capture data samples from the USRP it locks after
some time (minutes to hours). There is no crash, it just stops
receiving samples. I attached the code to this email so others can try
it out to see if it is my setup or not.

The program is very simple. It configures the USRP and sends the
samples to /dev/null. I modified the file sink to inclue a counter so
I can see if there are samples coming from the USRP or not. The diff
is here:

Index: gr_file_sink.cc
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/src/lib/io/gr_file_sink.cc,v
retrieving revision 1.4
diff -r1.4 gr_file_sink.cc
57a58
  d_counter = 0;
123a125,126


141a145,148
    d_counter += 1;
    if (d_counter % 10000 == 0){
      fprintf(stdout, "count %d\n", d_counter), fflush(stdout);
    }

I have the latest CVS/SVN version and use python 2.4.

Any ideas what could be wrong?

Thomas

Attachment: hang_test.py
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]