Hi Johannes, Thanks, it works now, but the input will be without quotes, i.e., False not `False`. Regards Sumit
On Thu, Jul 25, 2019 at 10:22 AM Johannes Demel <de...@ant.uni-bremen.de> wrote: > Hi Sumit, > > this is not an installation error. Your configuration is wrong. The > argument `enb` must be of type bool but it is a string in your case. > I assume you use GRC to generate this flowgraph. > Open your USRP source block. Go to the `FE Corrections` tab and put in > `False` in both fields. No `, ' or ". This will generate a line that says: > `self.uhd_usrp_source_0.set_auto_dc_offset(False, 0)` > instead of > `self.uhd_usrp_source_0.set_auto_dc_offset("False", 0)`. > This should fix your issue. > > Cheers > Johannes > > Am 24.07.19 um 19:33 schrieb Sumit Kumar: > > Hi Michael, > > Any update on this? I downgraded my install of uhd and gnuradio as > > follows but I have the same error. > > > > Traceback (most recent call last): > > File "/home/sumit/Desktop/top_block.py", line 122, in <module> > > main() > > File "/home/sumit/Desktop/top_block.py", line 110, in main > > tb = top_block_cls() > > File "/home/sumit/Desktop/top_block.py", line 78, in __init__ > > self.uhd_usrp_source_0.set_auto_dc_offset("False", 0) > > File > > > "/home/sumit/gradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", > > line 3499, in set_auto_dc_offset > > return _uhd_swig.usrp_source_sptr_set_auto_dc_offset(self, enb, > chan) > > TypeError: in method 'usrp_source_sptr_set_auto_dc_offset', argument 2 > > of type 'bool' > > > > sumit@PP0380:~/gradio/src/gnuradio$ uhd_find_devices > > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > > *UHD_3.14.1.HEAD-0-g5491b80e* > > -------------------------------------------------- > > -- UHD Device 0 > > -------------------------------------------------- > > Device Address: > > serial: 317DD1E > > addr: 192.168.10.2 > > fpga: HG > > name: > > product: X310 > > type: x300 > > > > > > sumit@PP0380:~/gradio/src/gnuradio$ gnuradio-companion --version > > *GNU Radio Companion 3.7.13.5 > > * > > This program is part of GNU Radio > > GRC comes with ABSOLUTELY NO WARRANTY. > > This is free software, and you are welcome to redistribute it. > > > > sumit@PP0380:~/gradio/src/gnuradio$ git status > > On branch maint-3.7 > > *Your branch is up to date with 'origin/maint-3.7'.* > > * > > * > > Regards > > Sumit > > > > On Thu, Jun 27, 2019 at 8:07 PM Michael Dickens > > <michael.dick...@ettus.com <mailto:michael.dick...@ettus.com>> wrote: > > > > __ > > I guess for your need so long as it works that's what matters, yes? > > > > We'll work on fixing the issue you found anyway ... seems like it's > > legit & undesirable LOL. > > > > Good luck with your demo! - MLD > > > > On Thu, Jun 27, 2019, at 2:01 PM, sumit kumar wrote: > >> Well it worked after compiling old checkouts (but not giving me > >> the usual satisfaction of a fresh install... but anyways) > >> > >> On Thu, 27 Jun 2019 at 19:45, sumit kumar <sumits...@gmail.com > >> <mailto:sumits...@gmail.com>> wrote: > >> > >> Its overwhelming :D, I have a demo on Monday and I was 100% > >> assured gr-ieee-80211 will work as usual. > >> > >> Before I saw your mail, I already checked out GR to 3.7.12, > >> UHD to 003 009 006 and compiling now. > >> Yes I used pybombs for installation. > >> > >> I have a USB with gnuradio installed into it. It works good > >> and it has GR 3.7.11, uhd 003 009 006 and gr-ieee-80211 > >> version I dint check. > > > > > > > > -- > > -- > > Sumit kumar > > Postdoc > > SnT, Luxembourg > > > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > 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 > -- -- Sumit kumar Postdoc SnT, Luxembourg
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio