Forum: GNU Radio about benchmark_rx

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
678056849072b3a09b6f2d6446bc1326?d=identicon&s=25 Chen Chen (chenchen)
on 2008-12-31 08:20
(Received via mailing list)
hi,evryone

i am troubled with running usrp demo.
i believe i have configured my ursp correctly because there is data
displayed while running usrp_spectrumsense.py.
however, when i tried benchmark_rx and benchmark_tx on two computers,
i got nothing to indicate that the device was recieving

on the rx side :
[root@localhost digital]# ./benchmark_rx.py -f 5G -r 500k
db_xcvr2450_rx: __init__
Creating new xcvr2450 instance
xcvr2450: __init__ with 48b9d10f: 0
>>> gr_fir_fff: using SSE

the program stoped here and waited without an end.
on the tx side we can see:
[root@localhost digital]# ./benchmark_rx.py -f 5G -r 500k
db_xcvr2450_rx: __init__
Creating new xcvr2450 instance
xcvr2450: __init__ with 48b9d10f: 0
>>> gr_fir_fff: using SSE............................................................
.....................................................................................
.....................................................................................
.....................................................................................
.....................................................................................
....................xcvr2450__del__

this question has already been asked and discussed by others for some
time. unfortunately, their advices did not settle my

problem.

i wonder where benchmark_rx stops and what it is waiting for.so i
tracked the codes. my_top_block.wait() in benchmark_rx.py

which is defined in the class top_block calls
top_block_wait_unlocked() gnuradio_swig_py_runtime.py. the definition
of the

function is followed:

def top_block_wait_unlocked(*args):
  """top_block_wait_unlocked(gr_top_block_sptr r)"""
  return _gnuradio_swig_py_runtime.top_block_wait_unlocked(*args)

in the head of the file gnuradio_swig_py_runtime.py is import
_gnuradio_swig_py_runtime.

when i want to learn more about the function
_gnuradio_swig_py_runtime.top_block_wait_unlocked(*args), i can just
find

nothing other than two files, _gnuradio_swig_py_runtime.la and
_gnuradio_swig_py_runtime.so, which seem to solve nothing.

i have no idea where the definition of
_gnuradio_swig_py_runtime.top_block_wait_unlocked(*args) is.
and i would also appreciate it if anyone can share anything about
using benchmark_rx/tx.

thanks in advance!


philips.c.c
This topic is locked and can not be replied to.