Haris Tanveer | 30 May 19:59 2016
Picon

Saving signal file in GNU radio

i am using USRP n-210 to receive signals.
kindly guide me how can i save the received signal in GNU radio software  and what should be the format of received signal file so that it can be imported in matlab for signal analysis..??
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Adellain TSIAHINA | 30 May 14:26 2016
Picon

accumulate spectrum

Dear All,

I'm new to Gnu Radio. I looked carefully to the doc and tutorials but could not find any simple answer to my problem.
I have a radio signal from which I'm able to visualize the FFT in GNU Radio Companion.
Now I would like to save the FFT (more exactly the magnitude squared, or the spectrum) accumulated over a given period of time (the average over time) into a file.

I found the following blocks in GRC that seem to be helpful:
- stream to vector
- FFT
- complex to mag
- file sink

However I did not manage to save any accumulated spectrum...

Any help (eg a woking example) would be very welcome!

Thanks in advance.

Adellain
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
SangHyuk Kim | 30 May 14:25 2016
Picon

OFDM IFFT calculate

Hi all,

The file, /gr-fft/lib/fft_vcc_fftw.cc(http://goo.gl/X8WNPh), changes domain from frequency to time using IFFT(Inverse-Fast-Fourier-Transform).

It takes parallel subcarriers in frequency-domain (it is defined 'in' in the file) and converts it into time-domain(it is defined 'out').

I can understand how get inputs to 'd_fft', but I don't know about d_fft->execute() that compute the fft.

I can't find its' implementation in anywhere so that I can't understand what happen in this function.

Could anyone tell me how compute the fft in the function ?

Thanks. 
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Ekko | 30 May 05:58 2016
Picon

use of CCSDS 27 encode/decode

hello all
i want to use CCSDS 27 encode/decode ,so i write a grc to test these two block without hardware,
but i got he dest data is not same with the source data,
so is there some wrong in my grc.

these is the source file and dest file in my  grcand my grc file

thank you

--Ekko
==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!
==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR!
It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello
E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your World!!==>Hello E310,SDR! It's Your
World!!==>Hello E310,SDR! It's Your World!!
Attachment (fec_test.grc): application/octet-stream, 12 KiB
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Ravi Sharan | 29 May 20:55 2016
Picon
Gravatar

[GSoC] Weekly update for PyBOMBS and CGRAN integration project

Hi All,

It's been a week since the GSoC coding period started and I have summarized the previous week's progress along with a little background information regarding the Pybombs frontend at [1]. I will be more than happy to receive any suggestions and feedback on the progress. Thanks in advance.

Cheers,
Ravi


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
grarpamp | 29 May 18:56 2016
Picon

Wideband Random Noise Cypherpunk Guerrilla Radio - Doc Req

Imagine noise radiator capable of making your spectrum analyzer
look like /dev/urandom across the board. There's no center frequency,
no clock, no freq hopping, no spreading, no observables, no off the
shelf wireless hardware or reference design... it's not based on that.
To any viewer, it's just background noise. To you and your peers
who hold, say, a shared XOR key for data and a seed for DRBG noise,
it looks like data... lots of data ;-) With achievable datarate,
error correction, and unjammability governed by the range of spectrum
you can generate noise over. You could even mimic within existing
spectra if need be. And its nature is highly reistant to location.
The amplifiers and radiators to cover the spectrum are hardware.
Everything else is SDR.

There is at least one good paper on this, particularly involving
GNURadio style SDR as the enabling basis, but I forgot the magic
search terms to find it again.

While not the paper in mind (and not necessarily from the new SDR
guerrilla / cypherpunk / darknet radio crowd), these are somewhat
relavant...

Digital Chaotic Communications
https://smartech.gatech.edu/bitstream/handle/1853/34849/michaels_alan_j_200908_phd.pdf

Synchronization in Cognitive Overlay Systems
http://lib.tkk.fi/Dipl/2012/urn100685.pdf

Covert Ultrawideband Random Noise papers by Jack Chuang and Ram Narayanan...
https://etda.libraries.psu.edu/files/final_submissions/3142

Can you link to some better docs, whether philosophy, theory or
application, using SDR along the main topic above? Thanks.
Mark Napier | 29 May 16:24 2016
Picon

Build installation on Ubuntu

Hello the camp,

I'm struggling with an installation on Ubuntu 16.04.  Note that apt-get does install a working GNUradio stack and UHD works with a USRP2.  However, my goal is to install a build environment.

For my 1st effort I used git to clone the uhd driver directory and was able to get a clean build from the source and the make test all worked correctly.  After make install uhd_usrp_probe finds the USRP2.  However, on connecting a GRC uhd source to waterfall sink the run fails.  The problem is that the UHD driver is newer than the apt-get installation of gnuradio so the two are incompatible.  Also, the gnuradio install doesn't seem to have the source for a build environment either.

So next effort is to try to use pybombs to install into a prefix directory.  Having all the source and being able to modify it and run in a local sandbox is exactly what I'm after.  Used apt-get to remove uhd and gnuradio.  But I'm finding pybombs difficult to use.

After a few emails from Martin at Ettus and a great deal of tinkering with permissions I can do the following:

$ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
$ pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
$ pybombs prefix init  ~/gnuradio/src/prefix -R gnuradio-default

This will init my prefix directory and start the installation and compile of a sandbox.  However, it doesn't finish.  It get to bladeRF and aborts with "Unable to fetch recipe bladeRF".  Whats *much* more frustrating is that I can't get any other form of a pybombs command line to run and give me information about the prefix install.  I just get the "usage" statement.  And the init won't run after the first time, I get a:

PyBombs.prefix - ERROR - Ignoring. A prefix already exists in `/home/napierm/gnuradio/src/prefix'

So if I run:

rm -rf gnuradio/src/prefix/*
rm -rf gnuradio/src/prefix/.*

Then I can start over.  PyBOMBS is supposed to be able to show what is installed and manage/add modules.  Any ideas what to try next?

Thank you very much in advance,

Mark Napier

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
John Shields | 29 May 02:22 2016
Picon

OpenGL running out of memory

Hi,
     Have GNURadio 3.7.9.2 installed on Ubuntu 15.10. I have been 
running simple_ra but don't believe that is germane to the problem at hand.

     I am running simple_ra_receiver under debug (have seen segmentation 
errors in libc in the past and trying to narrow down) but, again, don't 
think this is a factor in the symptom.

     Traceback (most recent call last):
   File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/plotter_base.py", 
line 209, in _on_paint
     for fcn in self._draw_fcns: fcn[1]()
   File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/plotter_base.py", 
line 65, in draw
     GL.glCallList(self._grid_compiled_list_id)
   File "/usr/lib/python2.7/dist-packages/OpenGL/error.py", line 208, in 
glCheckError
     baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
     err = 1285,
     description = 'out of memory',
     baseOperation = glCallList,
     cArguments = (2L,)
)

    The graphics screen is frozen (grey) but the rest of the threads run OK.
    In terms of system memory, shows 1.9GiB of 15.6 so I don't believe 
the system is running out of physical memory.

    Cannot find anything relating to this issue vis-a-vis GNURadio.

    Any ideas of what is going wrong or a workaround I could implement 
to avoid?

            Kind Regards,

                      John
Louis Brown | 29 May 00:35 2016

Example CMakeLists for dial_tone.cc

Does anyone have an example CMakeLists.txt to build something very simple like dial_tone.cc?  I DON'T want to do this in the GR source tree, rather just have simple ~/dial_tone containing the single *.cc and CmakeLists.txt.  I have learned enough c++ now to work through the guided tutorials, but the build environment is still somewhat overwhelming, so I want to start basic and work my way up.

I tried using the gr_modtool with adding a 'noblock' but that still wants to treat the block it as a shared library.

I tried piecing a CMakeLists.txt together from the GR source tree, and while it runs (i.e finds boost, cppunit, etc.) I'm still getting undefined reference during compile (see below).

Thanks,
Lou

--

madengr <at> tesla[~/dialtone]$ cmake .
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib64/libgnuradio-runtime.so
GNURADIO_RUNTIME_FOUND = TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/madengr/dialtone

madengr <at> tesla[~/dialtone]$ make
[ 50%] Linking CXX executable dialtone
CMakeFiles/dialtone.dir/dialtone.cc.o: In function `main':
dialtone.cc:(.text+0x40): undefined reference to `gr::make_top_block(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

Sent from iCloud
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Gerhard | 28 May 21:21 2016
Picon

Decode Frequency Modulated Signal

Hello!

I want to decode a signal that slightly varies in Frequency. Therefore I
used "Quadrature Demod" block. After this, its waveform looks like the
appended image "baudline-waveform.jpg". Although it's a bit fuzzy I
already can decode it with my eyes. Have a look at the appended picture
"decoded-signal.jpg".

My Questions:
* How do I decode the signal to ones and zeros?
* Is the signal O.K. the way I demodulated it, or is it to fuzzy?

Any help is appreciated!

Cheers
  Gerhard

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Jose Perez | 28 May 19:42 2016
Picon

Help - Tutorial: PSK Symbol Recovery

Hi all,

I am studying the tutorial 7: PSK Symbol Recovery. For it, I am using the
mpsk_stage6.grc example flowgraph.
But I am trying to simulate a transmition of a txt file. I can see the
decoded signal on the scope perfectly but I would like to save this received
file.
According the tutorial, after diferential decoder it have a Map block that
maps the original symbols from 0-3, so unpack those 2 bits per symbol into
bits using the unpack bits block... and then  we have the original bit
stream of data. 
To save the received txt file, I am using the repack bits block after the
unpack bits block, i.e., after the Unpack 2 bits I use the Pack 8 bits and
File Sink block... but the outputed file shows wrong  character.

I don't know why it is wrong.... it should works fine
Someone could help me with it? It looks be a simple thing to do but I can
not see what to do.

Thanks

--
View this message in context: http://gnuradio.4.n7.nabble.com/Help-Tutorial-PSK-Symbol-Recovery-tp60228.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Gmane