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
> <julian@elitecoding.org <mailto:julian@elitecoding.org>> 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
> > <michael.dickens@ettus.com <mailto:michael.dickens@ettus.com>
> <mailto:michael.dickens@ettus.com
> <mailto:michael.dickens@ettus.com>>> 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
> > Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment