discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Setting USRP's AGC Through GNU Radio's USRP Source


From: Gilad Beeri (ApolloShield)
Subject: [Discuss-gnuradio] Setting USRP's AGC Through GNU Radio's USRP Source
Date: Tue, 17 Oct 2017 08:16:48 +0000

Hi,
I'm not sure whether this question should be posted in this mailing list or in usrp-users.

The USRP Source has a method called get_device() which returns an internal pointer to the multi_usrp. The internal USRP object has a method of set_rx_agc().

How can I access it through Python?
Assuming src is a USRP Source block,
src.get_device() returns: <Swig Object of type '::uhd::usrp::multi_usrp::sptr *' at 0x7f250bf30300>

but then the returned object (dev) has no interesting functions (only 'acquire', 'append', 'disown', 'next', 'own').

Is there a way to control the USRP B2xx's AGC (AD936x's AGC) through Python? If not, what should I change in the source code to make it happen?

Thanks




reply via email to

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