[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] DC offset removal
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] DC offset removal |
Date: |
Wed, 23 Nov 2011 07:46:51 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
On 11/23/2011 03:00 AM, Michael Höin wrote:
> Hi all
>
> Is it possible to disable the automatic DC offset removal control loop in
> the FPGA to measure DC? In old posts I found the function
> "set_dc_offset_cl_enable". But if I try that, this function can not be
> found.
>
> I use a USRP N210 with a LFRX board.
>
> my code:
> .....
> self.uhd_usrp_source_0 = uhd.usrp_source(
> device_addr="",
> stream_args=uhd.stream_args(
> cpu_format="fc32",
> channels=range(1),
> ),
> )
> .....
> self.uhd_usrp_source_0.set_dc_offset_cl_enable(0x0,0xF)
> .....
>
Can you give this a try?
http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/include/gr_uhd_usrp_source.h#n254
Let me know if it works for you.
-josh