It will be grateful if python bindings for “config_mimo”,
“sync_every_pps” are added to usrp2_base.h and usrp2.i in gr-usrp2.
(Until now, I have added them everytime when I updated the gnuradio.)
I am using “sync_every_pps” for synchronizing boundaries of frames
transmitted from multiple USRP2. Since the samples are discarded when
the samples arrive later than the preset timestamp value, I use
“sync_every_pps” and set timestamp value to 99999999 in order to
guarantee transmission of the
frame.
Changkyu Seol
On Sat, 2009-05-16 at 03:44 +0200, Changkyu Seol wrote:
It will be grateful if python bindings for “config_mimo”,
“sync_every_pps” are added to usrp2_base.h and usrp2.i in gr-usrp2.
These calls are now visible (as of trunk r11050) in the Python API as:
from gnuradio import usrp2
u = usrp2.source_32fc() # any of the sinks or sources
u.sync_every_pps(True) # False to disable
u.config_mimo(usrp2.MC_WE_LOCK_TO_SMA)
For the C++ API, the MC_* constants are now visible in the usrp2
namespace:
usrp2::MC_WE_LOCK_TO_SMA
…
You can see the definitions in <usrp2/mimo_config.h>, though it is
automatically included for you.
Johnathan