[Discuss-gnuradio] OFDM mod-demod

2015-01-05 Thread sreena p h
hi
I was doing OFDM modulation demodulation in following way
file source --- OFDM Mod ---  Virtual Source
Virtual Sink --- OFDM demod --- File sink
File source out is given in byte format. This system give output for bpsk, qpsk 
and 8psk modulation. and no output for QAM schemes. What changes are to be made 
to do QAM modulations also. 
Regards
Sreena___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] audio sink issue

2014-12-15 Thread sreena p h
Hi
I am trying to implement the following acoustic communication transmitter with 
PC
File Source -- Packet encoder -- gmsk mod -- Rational resampler     -- 
Frequency Xlating FIR filter  -- comp to real -- audio sink
Pc has inbuilt sound card. packet encoder is taking 8 samples per symbol, 
Resampler interpolates samples by 500, FIR filter is set at 19k carrier 
frequency and 1K bandwidth. 
The problem is that I wont get any sort of output at the audio sink. I added an 
GUI FFT sink at the end of FIR filter, it also showed now output. Please tell 
what's gone wrong. I am using gnuradio 3.7.4 version.
Thanks in advance ___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] OFDM transmitter receiver

2014-08-25 Thread sreena p h
Hi
I used the ofdm transmitter receiver blocks to create a simple system as shown 
in the attachment. I used the system parameters as those used in the example 
transmitter and receiver grcs. Now I get error that 'Detected a packet larger 
than max frame size (80 symbols)'. I would like to know how the max frame size 
is set and should I add more information to the grc. 

My transmitter- receiver parameters

fft length= 64
cyclic prefix = 16
packet length = 96
no. of occupied carriers = 48
no. of pilot carriers = 4
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] OFDM transmitter receiver

2014-08-25 Thread sreena p h
kernel.shmmax gave value 2147483648.

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


Re: [Discuss-gnuradio] Cmake error

2014-08-22 Thread sreena p h
Thanks for the comment. I updated my GNURadio to 3.7.4 and new module 
installation went well. Thanks once again.

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


[Discuss-gnuradio] cmake error

2014-08-21 Thread sreena p h
Hi

I tried to implement python OOT module as given in the new tutorial. Everything 
was fine till I reached the installation step. cmake command made the following 
error.. 
-- Build type not specified: defaulting to release.
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   filesystem
--   system
You have called ADD_LIBRARY for library gnuradio-qpsk_demod without any source 
files. This typically indicates a problem with your CMakeLists.txt file
-- Configuring done
CMake Error: CMake can not determine linker language for 
target:gnuradio-qpsk_demod

Going through mailing list I found that this can be overcome by removing the 
lib subdirectory from the CMakeLists.txt file. I removed that file and run 
cmake .. It ran fine. Then make command was given,.. the following was the 
result

Scanning dependencies of target _qpsk_demod_swig_swig_tag
[  6%] Building CXX object 
swig/CMakeFiles/_qpsk_demod_swig_swig_tag.dir/_qpsk_demod_swig_swig_tag.cpp.o
Linking CXX executable _qpsk_demod_swig_swig_tag
[  6%] Built target _qpsk_demod_swig_swig_tag
Scanning dependencies of target _qpsk_demod_swig_doc_tag
[ 13%] Building CXX object 
swig/CMakeFiles/_qpsk_demod_swig_doc_tag.dir/_qpsk_demod_swig_doc_tag.cpp.o
Linking CXX executable _qpsk_demod_swig_doc_tag
[ 13%] Built target _qpsk_demod_swig_doc_tag
[ 20%] Generating doxygen xml for qpsk_demod_swig_doc docs
warning: Tag `SHOW_DIRECTORIES' at line 477 of file 
/home/ttl/Documents/augest/gr-qpsk_demod/build/swig/qpsk_demod_swig_doc_swig_docs/Doxyfile
 has become obsolete.
To avoid this warning please remove this line from your configuration file or 
upgrade it using doxygen -u
warning: Tag `HTML_ALIGN_MEMBERS' at line 803 of file 
/home/ttl/Documents/augest/gr-qpsk_demod/build/swig/qpsk_demod_swig_doc_swig_docs/Doxyfile
 has become obsolete.
To avoid this warning please remove this line from your configuration file or 
upgrade it using doxygen -u
warning: Tag `USE_INLINE_TREES' at line 956 of file 
/home/ttl/Documents/augest/gr-qpsk_demod/build/swig/qpsk_demod_swig_doc_swig_docs/Doxyfile
 has become obsolete.
To avoid this warning please remove this line from your configuration file or 
upgrade it using doxygen -u
[ 26%] Generating qpsk_demod_swig_doc.i
[ 33%] Generating qpsk_demod_swig.tag
[ 40%] Swig source
Scanning dependencies of target _qpsk_demod_swig
[ 46%] Building CXX object 
swig/CMakeFiles/_qpsk_demod_swig.dir/qpsk_demod_swigPYTHON_wrap.cxx.o
Linking CXX shared module _qpsk_demod_swig.so
/usr/bin/ld: cannot find -lgnuradio-qpsk_demod
collect2: error: ld returned 1 exit status
make[2]: *** [swig/_qpsk_demod_swig.so] Error 1
make[1]: *** [swig/CMakeFiles/_qpsk_demod_swig.dir/all] Error 2
make: *** [all] Error 2


How to get out of this. 

Thanks in advance

Sreena
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] buffer size

2014-08-13 Thread sreena p h
Hi

I ran OFDM transmitter in the grc example using 1024 point fft. following error 
was raised after running the grc. Please help to get out of this error.. 

thread[thread-per-block[7]: block tagged_stream_mux (47)]: Buffer too small 
for min_noutput_items


Thanks in advance

Regards

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


[Discuss-gnuradio] audio out put

2014-08-06 Thread sreena p h
Hi

I am modulating a .wav audio file and transmitting using ofdm example using 
gnuradio. What should I dou to receive it as an audio file using the receive 
example. 

If i write the receiver output to a wav file, it don't give the required audio. 

Please help

regards

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


[Discuss-gnuradio] PSK modulator output

2014-06-25 Thread sreena p h
Hi

What kind of sink can be used to analyse the outpt of a PSK modulator. I am 
transmitting a text file and is trying to retrieve and analyse using file sink.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Creating OOT module

2014-06-20 Thread sreena p h
Hi

I have written a block in python and was trying to create an out of tree module 
as given in the gnuradio tutorial. 
While using cmake ../ the following error occured. 
CMake Error: CMake can not determine linker language for target:gnuradio-dec
CMake Error: Cannot determine link language for target gnuradio-dec.

this was rectified by removing the lib directory and the cmake file was created 
without error. Then i run the make install and found following error: 

Scanning dependencies of target _dec_swig
[ 46%] Building CXX object 
swig/CMakeFiles/_dec_swig.dir/dec_swigPYTHON_wrap.cxx.o
Linking CXX shared module _dec_swig.so
/usr/bin/ld: cannot find -lgnuradio-dec
collect2: error: ld returned 1 exit status
make[2]: *** [swig/_dec_swig.so] Error 1
make[1]: *** [swig/CMakeFiles/_dec_swig.dir/all] Error 2
make: *** [all] Error 2

what should i do to rectify this linking  error.. 


Regards
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] testing block written in block

2014-06-18 Thread sreena p h
Hi 

I'm new to GNU radio and is trying to develop my own block. I want to develop a 
block that intake a vector and out put sum of the vector elements. I used the 
out of tree module and followed tutorial using python code. How should be the 
arguments of blocks.vector_source_f to be given if i am inputting vector stream 
of four integers is used. the python code and test file is given below. 

Code: 

 def __init__(self, in_arg):
        gr.sync_block.__init__(self,
            name=sream_ff,
            in_sig=[(numpy.float32, 4)],
            out_sig=[numpy.float32])
    def work(self, input_items, output_items):
        in0 = input_items[0]
        out = output_items[0]
        # +signal processing here+
        out[:] = sum(in0)*in_arg
        return len(output_items[0])

Test code:

def test_001_t (self):
        src_data = (([1,1,1,1],4), ([1,2,3,4],4))
        expected_result = (8, 20)
        src = blocks.vector_source_f(src_data)
        fxn = sream_ff(2)
        snk = blocks.vector_sink_f()
        # set up fg
        self.tb.connect(src, fxn)
        self.tb.connect(fxn, snk)
        self.tb.run ()
        # check data
        result_data = snk.data ()
        self.assertFloatTuplesAlmostEqual (expected_result, result_data, 6)___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] CMake error

2014-06-10 Thread sreena p h
Hi

I got the following error while doing the building out-of-tree module example 
given in http://gnuradio.org/redmine/projects/gnuradio/wiki/NewTutorials3. 

ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$ cmake ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/ttl/Documents/sreena/gr-tutorial/build
ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$ make
[  6%] Built target _tutorial_swig_doc_tag
[ 13%] Built target _tutorial_swig_swig_tag
Linking CXX shared module _tutorial_swig.so
/usr/bin/ld: cannot find -lgnuradio-tutorial
collect2: error: ld returned 1 exit status
make[2]: *** [swig/_tutorial_swig.so] Error 1
make[1]: *** [swig/CMakeFiles/_tutorial_swig.dir/all] Error 2
make: *** [all] Error 2
ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$

It seems some swig error has been reported.. Please help..

Regards 

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