Forum: GNU Radio Python bindings for "config_mimo", "sync_every_pps"

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.
3017a63dd5d902bdcf426915d07a21d4?d=identicon&s=25 Changkyu Seol (snow98)
on 2009-05-16 03:44
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
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2009-05-19 05:22
(Received via mailing list)
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
3017a63dd5d902bdcf426915d07a21d4?d=identicon&s=25 Changkyu Seol (snow98)
on 2009-05-19 08:38
Johnathan Corgan wrote:
> On Sat, 2009-05-16 at 03:44 +0200, Changkyu Seol wrote:
>
> 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

Thank you very much!

Changkyu Seol
This topic is locked and can not be replied to.