discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] turn off DC offset


From: Julian Arnold
Subject: Re: [Discuss-gnuradio] turn off DC offset
Date: Tue, 30 Jul 2019 19:32:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

Hey,

you should be able to just run it as any other python script i.e.
"python ./top_block.py"

Cheers,
Julian

On 30.07.19 19:10, Simona Sibio wrote:
Thank you very much.
This tip is very helpful.
I edited the file.py but I don't know how can I do to run the file.py?
Or, do I have to run anyway the flow-graph?
Best regards,

Simona

Il giorno mar 30 lug 2019 alle ore 17:44 Julian Arnold <address@hidden <mailto:address@hidden>> ha scritto:

    Hey,

    I've had a similar issue with a 3.7 version so maybe this helps.

    For me, no other value than "True" (without "") would generate a
    call to
    "set_auto_dc_offset()" in the GRC generated python script
    ("top_block.py").

    So, in order to disable DC offset tracking, a quick workaround would be
    to set "Enable DC Offset Corrections" to "True". This adds the desired
    call to "set_auto_dc_offset()" to your "top_block.py". Now you only
    need
    to manually change "True" to "False" in "top_block.py" and DC offset
    tracking should be disabled. Remember to not regenerate the flow-graph
    after making those changes as otherwise GRC will override your changes.

    Alternatively, you can of course always simply add the line
    self.uhd_usrp_source_0.set_auto_dc_offset(False, 0)
    to your script without using GRC.

    Hope this helps.
    Cheers,
    Julian


    On 30.07.19 17:07, Simona Sibio wrote:
     > Yes.
     >
     > gnuradio-config-info -v
     > 3.7.13.4
     >
     > Best Regards,
     >
     > Simona
     >
     > Il giorno mar 30 lug 2019 alle ore 15:03 Michael Dickens
     > <address@hidden <mailto:address@hidden>
    <mailto:address@hidden
    <mailto:address@hidden>>> ha scritto:
     >
     >     __
     >     Can you execute "gnuradio-config-info -v" and report back what it
     >     returns?
     >
     >     Can you execute some UHD-based application (whether GNU Radio or
     >     whatever), and report back the displayed debugging info?
     >
     >     On Tue, Jul 30, 2019, at 9:56 AM, Simona Sibio wrote:
     >>     Of course, I am using Linux, the GNU radio version is 7.3.0 and
     >>     UHD version is UHD.3.13.1.
     >>
     >>     And, I would like to measure the DC offset in the receiver.
     >>
     >>     Thank you for your time.
     >>     Best Regards,
     >>
     >>     Simona
     >
     >
     > _______________________________________________
     > Discuss-gnuradio mailing list
     > address@hidden <mailto:address@hidden>
     > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
     >




reply via email to

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