Forum: GNU Radio Getting this today from recent GR master build:

558c40b97bd1af8d912424757714bda9?d=identicon&s=25 Marcus D. Leech (Guest)
on 2014-05-06 00:02
(Received via mailing list)
Traceback (most recent call last):
   File "/home/mleech/top_block.py", line 74, in <module>
     tb = top_block()
   File "/home/mleech/top_block.py", line 39, in __init__
     channels=range(1),
   File
"/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/__init__.py",
line 122, in constructor_interceptor
     return old_constructor(*args)
   File
"/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py",
line 1747, in make
     return _uhd_swig.usrp_source_make(*args)
NotImplementedError: Wrong number or type of arguments for overloaded
function 'usrp_source_make'.
   Possible C/C++ prototypes are:
     make(::uhd::device_addr_t const &,::uhd::io_type_t const &,size_t)
     gr::uhd::usrp_source::make(::uhd::device_addr_t const
&,::uhd::stream_args_t const &)






gnuradio-config-info returns:

v3.7.4git-183-g967489ad









linux; GNU C++ version 4.5.1 20100924 (Red Hat 4.5.1-4); Boost_104400;
UHD_003.007.001-14-g1d2e8d39

-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
   _____________________________________________________
  /
|       Device: USRP1 Device
|     _____________________________________________________
|    /
|   |       Mboard: USRP1
|   |   serial: SRL__269
|   |   name: old-usrp1
|   |
|   |   Time sources: none
|   |   Clock sources: internal
|   |   Sensors:
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   Freq range: -32.000 to 32.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 1
|   |   |   Freq range: -32.000 to 32.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |   ID: DBSRX (0x0002)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0
|   |   |   |   Name: DBSRX
|   |   |   |   Antennas: J3
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 800.000 to 2400.000 Mhz
|   |   |   |   Gain range GC1: 0.0 to 56.0 step 0.5 dB
|   |   |   |   Gain range GC2: 0.0 to 24.0 step 1.0 dB
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: B
|   |   |   ID: DBSRX (0x0002)
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: 0
|   |   |   |   Name: DBSRX
|   |   |   |   Antennas: J3
|   |   |   |   Sensors: lo_locked
|   |   |   |   Freq range: 800.000 to 2400.000 Mhz
|   |   |   |   Gain range GC1: 0.0 to 56.0 step 0.5 dB
|   |   |   |   Gain range GC2: 0.0 to 24.0 step 1.0 dB
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |   Freq range: -44.000 to 44.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 1
|   |   |   Freq range: -44.000 to 44.000 Mhz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: B
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: 0.000 to 0.000 Mhz
|   |   |   |   Gain Elements: None
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: B
|   |   |   |   Name: ad9522
|   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB


And if I use an osmocom block (such as provided by osmocom-fft) it works
just fine, so I suspect this is an issue in gr-uhd.


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
D3e3c5e41e9aed486856802be823e181?d=identicon&s=25 Johnathan Corgan (Guest)
on 2014-05-06 01:18
(Received via mailing list)
Attachment: johnathan.vcf (335 Bytes)
Attachment: signature.asc (230 Bytes)
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
B4ffbc711addde4c649b1ed526df6157?d=identicon&s=25 Martin Braun (Guest)
on 2014-05-06 09:40
(Received via mailing list)
On 06.05.2014 01:17, Johnathan Corgan wrote:
> function.  It's possible that if you did not do a 'make clean', that the
> swig wrapper did not get recompiled, and is trying to use the old one.

There was; we now have a tag key for TSB mode.

M
558c40b97bd1af8d912424757714bda9?d=identicon&s=25 Marcus Leech (Guest)
on 2014-05-07 09:40
(Received via mailing list)
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
B4ffbc711addde4c649b1ed526df6157?d=identicon&s=25 Martin Braun (Guest)
on 2014-05-07 09:41
(Received via mailing list)
On 06.05.2014 16:35, Marcus Leech wrote:
> Well, I was utterly unable to get it to work, using any recent GR paired
> with latest "master" of UHD.
> I get the same error every time.  The swig-generated code "looks"
> correct, but this error persists.
> I have cleaned every vestige of Gnu Radio and UHD from my system, and
> done totally-clean builds and this
>    happens.  Yet, when I use the gr-osmosdr wrapper, it works just fine,
> which suggests that it's in the
>    SWIGging that happens for gr-uhd.


FYI: The cause of this might be tagged stream support Sean and I added a
while back.
gr-osmosdr uses the legacy setup call, which doesn't (and won't) support
TSBs, so this corroborates the hypothesis.

However...

>      >> gr::uhd::usrp_source::make(::uhd::device_addr_t const
>      >> &,::uhd::stream_args_t const &)

The second of these make calls was changed, and this doesn't reflect the
changes we did. Will need to investigate. I'll ping you in IRC when I
get 'round to doing so.

M
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.