discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Simple_ra help


From: Stefano Banti
Subject: Re: [Discuss-gnuradio] Simple_ra help
Date: Sat, 26 Sep 2015 17:05:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hello Marcus, tks for your reply.

Yes I can upgrade to gnuradio-3.7.7.1 if needed; I cloned simple_ra from github at:

https://github.com/patchvonbraun/simple_ra and
https://github.com/patchvonbraun/gr-ra_blocks

and followed installation instructions in simple_ra; I made "make sysinstall" at the end.

thanks
Stefano

Il 26/09/2015 15:39, Marcus D. Leech ha scritto:
Could you update to a more recent Gnu Radio, and UHD?

Also, there's *NEVER* any reason to run these as root if things are installed correctly.

Also, how did you install simple_ra and gr-ra_blocks? Did you get them from github, or somewhere else?


On 09/26/2015 06:48 AM, Stefano Banti wrote:
Hi all, I would like to experiment with simple_ra but, after installing it successfully, I got an error starting flowgraph as you can see below; looking at simple_ra.grc all the ports are obviously connected, so there is something else which at the moment I'm unable to discover. It happens both with a B200 and with an RTL device. I'm using ubuntu 14.04/ gnuradio 3.7.6
Any help is greatly accreciated, many thanks in advance,

Stefano

B200:
address@hidden:~$ sudo simple_ra --devid uhd=a,type=b200,subdev:A --freq 1420.4058e6
linux; GNU C++ version 4.8.2; Boost_105500; UHD_003.008.001-0-unknown

Using Volk machine: avx_64_mmx
gr-osmosdr v0.1.4-16-g61184a19 (0.1.5git) gnuradio 3.7.6
built-in source types: file osmosdr fcd rtl rtl_tcp uhd rfspace
-- Operating over USB 3.
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 32.000000 MHz
-- Actually got clock rate 32.000000 MHz
-- Performing timer loopback test... pass
-- Using subdev spec 'A:A'.
WARNING: Overriding original sample rate of 1e+07 with 2e+06

UHD Warning:
    Setting DC offset compensation is not possible on this device.

UHD Warning:
    Setting IQ balance is not possible on this device.
Traceback (most recent call last):
  File "/usr/local/bin/simple_ra_receiver.py", line 2511, in <module>
tb = simple_ra_receiver(ant=options.ant, aperture=options.aperture, baseline=options.baseline, cdevinit=options.cdevinit, cdevn=options.cdevn, cdevoff=options.cdevoff, cdevon=options.cdevon, cdevrate=options.cdevrate, cfile=options.cfile, cinterval=options.cinterval, clock=options.clock, contime=options.contime, dbw=options.dbw, dcg=options.dcg, decln=options.decln, devid=options.devid, devid2=options.devid2, devstr=options.devstr, dfd=options.dfd, expname=options.expname, fftsize=options.fftsize, fifo=options.fifo, frequency=options.frequency, fse=options.fse, interf=options.interf, latitude=options.latitude, longitude=options.longitude, lrate=options.lrate, maxg=options.maxg, ppe=options.ppe, ppm=options.ppm, prefix=options.prefix, ra=options.ra, refm=options.refm, rfgain=options.rfgain, rpcport=options.rpcport, skoffs=options.skoffs, spaI have=options.spa, spde=options.spde, sple=options.sple, sppe=options.sppe, srate=options.srate, stype=options.stype, tpint=options.tpint, tpld=options.tpld)
  File "/usr/local/bin/simple_ra_receiver.py", line 1152, in __init__
    self.connect((self.virtual_source_0, 0), (self.clipping_probe, 0))
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 93, in __getattr__
    return getattr(self._impl, name)
AttributeError: 'top_block_sptr' object has no attribute 'virtual_source_0'

RTL:
address@hidden:~$ sudo simple_ra --devid rtl=0 --freq 1420.4058e6
linux; GNU C++ version 4.8.2; Boost_105500; UHD_003.008.001-0-unknown

Using Volk machine: avx_64_mmx
gr-osmosdr v0.1.4-16-g61184a19 (0.1.5git) gnuradio 3.7.6
built-in source types: file osmosdr fcd rtl rtl_tcp uhd rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Exact sample rate is: 2000000,052982 Hz
WARNING: Overriding original sample rate of 1e+07 with 2e+06
Traceback (most recent call last):
  File "/usr/local/bin/simple_ra_receiver.py", line 2511, in <module>
tb = simple_ra_receiver(ant=options.ant, aperture=options.aperture, baseline=options.baseline, cdevinit=options.cdevinit, cdevn=options.cdevn, cdevoff=options.cdevoff, cdevon=options.cdevon, cdevrate=options.cdevrate, cfile=options.cfile, cinterval=options.cinterval, clock=options.clock, contime=options.contime, dbw=options.dbw, dcg=options.dcg, decln=options.decln, devid=options.devid, devid2=options.devid2, devstr=options.devstr, dfd=options.dfd, expname=options.expname, fftsize=options.fftsize, fifo=options.fifo, frequency=options.frequency, fse=options.fse, interf=options.interf, latitude=options.latitude, longitude=options.longitude, lrate=options.lrate, maxg=options.maxg, ppe=options.ppe, ppm=options.ppm, prefix=options.prefix, ra=options.ra, refm=options.refm, rfgain=options.rfgain, rpcport=options.rpcport, skoffs=options.skoffs, spa=options.spa, spde=options.spde, sple=options.sple, sppe=options.sppe, srate=options.srate, stype=options.stype, tpint=options.tpint, tpld=options.tpld)
  File "/usr/local/bin/simple_ra_receiver.py", line 1152, in __init__
    self.connect((self.virtual_source_0, 0), (self.clipping_probe, 0))
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 93, in __getattr__
    return getattr(self._impl, name)
AttributeError: 'top_block_sptr' object has no attribute 'virtual_source_0'


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

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