[Discuss-gnuradio] Why nothing change after I modified some codes in C++ block and successfully compiled it?

2013-03-05 Thread Yingjie Chen
Hi guys,

Thanks in advance.

I have added some codes in c++ block, like *printf(i=%d\n,z);* for output
test. However, after I compiled the modified block *(.cc file)*and
generated the new  object file* (.cc.o file)*, nothing printed out from the
terminal, which means nothing changed in the original code. But actually I
did.  I feel so confused, hope everyone can help me.

The example I used is in */home/k/src/gnuradio/gr-digital/examples/ofdm*,
and the file I modified is
/home/k/src/gnuradio/build/gnuradio-core/src/lib/gengen/*
gr_peak_detector_fb.cc*, which is one c++ block connected by ofdm example.

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


Re: [Discuss-gnuradio] Why nothing change after I modified some codes in C++ block and successfully compiled it?

2013-03-05 Thread Tom Rondeau
On Tue, Mar 5, 2013 at 7:54 AM, Yingjie Chen ocg...@gmail.com wrote:
 Hi guys,

 Thanks in advance.

 I have added some codes in c++ block, like printf(i=%d\n,z); for output
 test. However, after I compiled the modified block (.cc file)and generated
 the new  object file (.cc.o file), nothing printed out from the terminal,
 which means nothing changed in the original code. But actually I did.  I
 feel so confused, hope everyone can help me.

 The example I used is in /home/k/src/gnuradio/gr-digital/examples/ofdm, and
 the file I modified is
 /home/k/src/gnuradio/build/gnuradio-core/src/lib/gengen/gr_peak_detector_fb.cc,
 which is one c++ block connected by ofdm example.

 Best,
 Kay.


You have to run 'make install' after rebuilding or the system will
just use the old installed libraries.

Tom

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


[Discuss-gnuradio] Updated UCLA ZigBee / IEEE802.15.4 blocks

2013-03-05 Thread Bastian Bloessl

Hi everyone,

I updated the UCLA ZigBee blocks[1] to GNU Radio v3.6.4 (current master 
branch) and uploaded them to Github:


https://github.com/bastibl/gr-ieee802-15-4

Currently, it just features basic, separated rx/tx chains.
There is also a simple firmware for TelosB motes that I used to test 
interoperability.

The firmware is based on the Contiki OS for embedded devices.

In the next months we want to extend this with ideas from pre-cog[2] and 
build a simple transceiver systems to use in our lectures.


Cheers,
Basti

[1] https://cgran.org/wiki/UCLAZigBee
[2] https://github.com/jmalsbury/pre-cog

--
Dipl.-Inform. Bastian Bloessl
Institute of Computer Science
University of Innsbruck, Austria
Phone: +43 512 507-53288 / Fax: -53079
http://ccs.uibk.ac.at/~bloessl/

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


Re: [Discuss-gnuradio] uhd transmitter receiver

2013-03-05 Thread manjusha
You can use FFT sink block to see your signal.Just connect after your USRP
source block where you can see your received signal.



-
Manjusha
--
View this message in context: 
http://gnuradio.4.n7.nabble.com/uhd-transmitter-receiver-tp39996p4.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] uhd transmitter receiver

2013-03-05 Thread manjusha
i didn't mention any port numbers in my grc file.U can still set up sink and
source blocks on the same grc file.since the usrp knows that sink is to
transmit and source block is to receive.

all you need to do is connect them and run the grc files.



-
Manjusha
--
View this message in context: 
http://gnuradio.4.n7.nabble.com/uhd-transmitter-receiver-tp39996p40002.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Configure UHD source and File sink to save integers

2013-03-05 Thread mepard
On Mar 4, 2013, at 6:11 PM, Josh Blum j...@ettus.com wrote:

 On 03/04/2013 03:07 PM, mepard wrote:
 
 
 One thing I forgot is that I'd like to convert complexsint16 to a single 
 sint16 with just the real part, like I can convert complexfloat to 
 single float. It doesn't look like there is the equivalent of Complex To 
 Real for integers.
 
 Is there an alternative to converting to floating point and back?
 
 you could vector to streams, and null sink the second stream.
 
 * 1 input stream of vec length 2 and item size short
 * 2 output streams of item size short

This works well. Thanks!

-Marc


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


[Discuss-gnuradio] Constellation sink gnu radio

2013-03-05 Thread José María Valencia

Please I need help:

I want to use constellation sink block but when I run my design I get this
error:


Traceback (most recent call last):
  File C:\Documents and Settings\Chema\Escritorio\temporal\top_block.py,
line 13, in module
from gnuradio.wxgui import constsink_gl
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\constsink_gl.py, line
25, in module
import const_window
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\const_window.py, line
25, in module
import plotter
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\__init__.py,
line 22, in module
from channel_plotter import channel_plotter
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\channel_plotte
r.py, line 23, in module
from grid_plotter_base import grid_plotter_base
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_b
ase.py, line 24, in module
from OpenGL import GL
ImportError: No module named OpenGL
 Done

Warning (from warnings module):
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\grc\gui\ActionHandler.py,
line 70
gtk.main()
GtkWarning: gdk_property_change: assertion `window != NULL' failed


I’m using gnu radio companion 3.6.3,  anybody can say me how to solve it?? 

Thanks.

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