discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Python bindings for "config_mimo", "sync_every_pp


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Python bindings for "config_mimo", "sync_every_pps"
Date: Mon, 18 May 2009 20:21:00 -0700

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






reply via email to

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