[Discuss-gnuradio] GRC problem :no GUI during use USRP n210 and WBX daughtherBoard

2013-05-14 Thread Firas Serrge
hello , i am new in usrp and GNU radio ,... i have usrp n210 and wbx (50-2200 Mhz) daughter board , i have installed GRC on Ubuntu 12.04 LTS , i wrote the .GRC file and generate the python code ... when i use my hardware to transmit a signals using ( usrp sink ) there are interface and a signa

Re: [Discuss-gnuradio] Compile my own .cc file in gnuradio

2013-05-14 Thread Johnathan Corgan
On Tue, May 14, 2013 at 8:17 PM, Gong Zhang wrote: > I have known that the .cc example in gnuradio would be compiled when > running "make" in the build directory.But how can I compile my own .cc > file through g++ command line? > This is better done in a Makefile of your own design, but a quick

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread Johnathan Corgan
On Tue, May 14, 2013 at 10:05 AM, wrote: > ** > > You can use the "-m" option on build-gnuradio now to cause it to use > "master" instead of "maint". > > I'm surprised that my fix for the set_callback() problem wasn't > propagated to "maint" -- it went into "master" some time ago. > An oversight

[Discuss-gnuradio] Compile my own .cc file in gnuradio

2013-05-14 Thread Gong Zhang
Hi, I have known that the .cc example in gnuradio would be compiled when running "make" in the build directory.But how can I compile my own .cc file through g++ command line? Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://list

Re: [Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Nathan West
On Tue, May 14, 2013 at 9:53 PM, Gong Zhang wrote: > 于 2013/5/15 0:50, Tom Rondeau 写道: > > On Tue, May 14, 2013 at 2:08 PM, Gong Zhang wrote: >> >>> Hi, >>> I wanna execute the dial_tone.cc example.So I execute "g++ >>> dial_tone.cc >>> -I /usr/local/include/gnuradio/" >>> But I got the

Re: [Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Gong Zhang
于 2013/5/15 0:50, Tom Rondeau 写道: On Tue, May 14, 2013 at 2:08 PM, Gong Zhang wrote: Hi, I wanna execute the dial_tone.cc example.So I execute "g++ dial_tone.cc -I /usr/local/include/gnuradio/" But I got the errors: laptop:~/Desktop/ccompile$ g++ dial_tone.cc -I /usr/local/include/gnura

Re: [Discuss-gnuradio] Python message ports

2013-05-14 Thread Roy Thompson
What version of GNU Radio are you using? Message ports with Python blocks are supported as of 3.6.4: class message_consumer(gr.sync_block): def __init__(self): gr.sync_block.__init__( self, name = "message consumer", in_sig = None, out_s

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread LD Zhang
I find the example at the online page http://gnuradio.org/doc/doxygen/page_pfb.html very helpful (code at the end of the page). It runs and generates nice plots. Still trying to get used to it. But the code at gr-filter/python/pfb.py does not run. It appears to be a module? How do I run it or use

Re: [Discuss-gnuradio] i am working on cooperative communication i have q about error rate block

2013-05-14 Thread Josh Blum
On 05/13/2013 06:54 AM, Irfan Ullah wrote: > hi all, > sometimes i found error rate it will result 3.4 or 2.3 or 4.0 > something like this but in reality BER > > cant be greater than 1 so what is meaning of BER result picture has been > added of how i find BER. > > http://gnuradi

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread Ben Reynwar
Ah, sorry, I misunderstood your question. Yes, the GRC block pfb_channelizer_ccf is equivalent to the block in gr-filter/python/pfb.py, and, in fact, will use this block in the generated python. On Tue, May 14, 2013 at 2:35 PM, LD Zhang wrote: > Is it equivalent to use the pfb_channelizer_ccf b

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread LD Zhang
Is it equivalent to use the pfb_channelizer_ccf block in the GRC though? Does the GRC approach suffer reduced capability vs. the python approach? LD -Original Message- From: Ben Reynwar [mailto:b...@reynwar.net] Sent: Tuesday, May 14, 2013 2:30 PM To: LD Zhang Cc: discuss-gnuradio Discus

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread Ben Reynwar
No, there's no way to produce a GRC file from a python file. On Tue, May 14, 2013 at 2:20 PM, LD Zhang wrote: > Thanks I found it as in gr-filter/examples/python/pfb.py. I also found > something in gnuradio-core/src/examples/pfb directory. > > Have to excuse my ignorance here since I haven't real

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread LD Zhang
Thanks I found it as in gr-filter/examples/python/pfb.py. I also found something in gnuradio-core/src/examples/pfb directory. Have to excuse my ignorance here since I haven't really worked that much with python approach. Have mostly stayed in GRC flow graph and used the generator to get the python

Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread Ben Reynwar
Thanks for letting us know the documentation is out of date. You should find filterbank examples in gr-filter/examples. On Tue, May 14, 2013 at 12:28 PM, LD Zhang wrote: > Hi, > > I am reading the polyphase filterbank documentation. It points to a > directory where examples are contained: gnurad

[Discuss-gnuradio] where is gnuradio-examples/python/pfb?

2013-05-14 Thread LD Zhang
Hi, I am reading the polyphase filterbank documentation. It points to a directory where examples are contained: *gnuradio-examples/python/pfb. *In my installation I have the following directories and files: -rw-rw-r-- 1 ldz ldz 4041 Sep 18 2012 README-win32-mingw-short.txt -rw-rw-r-- 1 ldz ld

Re: [Discuss-gnuradio] A question on gnuradio capacity of handling real time data streaming and signal processing with USRP N210 + gnuradio on host linux computer

2013-05-14 Thread Josh Blum
> > add up all the complexities of all the blocks on your "fast path" (by > this I mean blocks that must necessarily operate at the input sample rate) > multiply that by the sample rate > > That gives you an idea of the numbers of MFLOPS/GFLOPS required to > support your application. > > The

Re: [Discuss-gnuradio] New Module/block call issue: make function??

2013-05-14 Thread Tom Rondeau
On Tue, May 14, 2013 at 11:35 AM, Nada ABDELKADER wrote: > Hi, > > I've added a module 'sensingmod' with a "noblock" block 'sensing' but when I > tried to call the block from python, I got this error: > > Traceback (most recent call last): > File "./tunnel_tx_simul.py", line 49, in > from s

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread mleech
On 14 May 2013 11:29, maiconkist wrote: > Hi Patrick, > > my mistake, the correct is 'wxgui', as you said. > > This solved my problem. Yesterday I cloned and compiled the gnuradio sources > by myself, instead of using the script provided by in the official site. I > notice that the script do

Re: [Discuss-gnuradio] Using Out-of-Tree module from C++ Application

2013-05-14 Thread Tom Rondeau
On Mon, May 13, 2013 at 8:00 PM, Michael Buettner wrote: > I am trying to use an out of tree module (built according to the > "Out-of-tree modules" documentation) from a C++ application. The > module is named "reader", and the block I'm trying to use is > "command_gate_cc". > > I can use it from p

Re: [Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Tom Rondeau
On Tue, May 14, 2013 at 2:08 PM, Gong Zhang wrote: > Hi, >I wanna execute the dial_tone.cc example.So I execute "g++ dial_tone.cc > -I /usr/local/include/gnuradio/" >But I got the errors: > laptop:~/Desktop/ccompile$ g++ dial_tone.cc -I /usr/local/include/gnuradio/ > /tmp/ccxAFik0.o: In fu

Re: [Discuss-gnuradio] A Question on Polyphase Channelizer - PFB block

2013-05-14 Thread Tom Rondeau
On Tue, May 14, 2013 at 6:53 AM, LD Zhang wrote: > Hi, > > > > I am experimenting with a way to do multi-channel filtering of a wideband > signal to put out multiple narrower bands. The PFB block appears to be the > one that can do it. There is very little documentation on it. Online > documents i

Re: [Discuss-gnuradio] A question on gnuradio capacity of handling real time data streaming and signal processing with USRP N210 + gnuradio on host linux computer

2013-05-14 Thread Tom Rondeau
On Tue, May 14, 2013 at 12:45 AM, Marcus D. Leech wrote: > Dear Group, > > > > I have a need to do real time or near real time tracking (most likely > phase-lock loop) of multiple narrow-band carriers/tones in a 1MHz band of > signal input using USRP N210 and gnuradio running on a reasonable linux

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread maiconkist
Hi Patrick, my mistake, the correct is 'wxgui', as you said. This solved my problem. Yesterday I cloned and compiled the gnuradio sources by myself, instead of using the script provided by in the official site. I notice that the script doesn't compile the master branch. The script did a checkout

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread Patrik Tast
I'm not sure but shouldn't the category be [wxgui] and not [wxwidgets] in ~/.gnuradio/config.conf? see in your gnuradio/gr-wxgui directory the readme's >From the command line you can lower the fft-rate and increase the avg-alpha, example $ uhd_fft --fft-rate=10 --avg-alpha=0.3 etc Increase the fft

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread maiconkist
Hi Marcus, double checked this, gnuradio from repository is not installed. I notifice that when I click the close button in the uhd_fft window, for an instant the FFT plot is shown. Thanks. -- View this message in context: http://gnuradio.4.n7.nabble.com/Problem-with-Wx-Gui-FFT-tp41275p41312

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread mleech
On 14 May 2013 10:08, maiconkist wrote: > I recompiled all again last night. Build version 3.6.4.1-203-g0641a449. The > problem continues. > > The suggestion with the '[wxwidgets] style=nongl' didn't work for me. > > OpenGL is working fine here. All 3D desktop effects works and glxgear runs

Re: [Discuss-gnuradio] Problem with Wx Gui FFT

2013-05-14 Thread maiconkist
I recompiled all again last night. Build version 3.6.4.1-203-g0641a449. The problem continues. The suggestion with the '[wxwidgets] style=nongl' didn't work for me. OpenGL is working fine here. All 3D desktop effects works and glxgear runs fine. Any clue about this problem ? -- View this mess

Re: [Discuss-gnuradio] Strange behaviour of QT Sink on gnuradio-next on Mac

2013-05-14 Thread Michael Dickens
I just pushed an update to MacPorts' gnuradio-devel and gnuradio-next. I doubt it changes the behavior you're talking about, but you never know. When I try to execute that GRC file in either devel or next, I get "QWidget: Must construct a QApplication before a QPaintDevice". Since the install

[Discuss-gnuradio] Python message ports

2013-05-14 Thread Johannes Demel
Hi list, I tried to use message ports with python blocks but I can't find something like "register_msg_port_in" or similar. And asking google didn't give me any results as well. So I can't register a message port. This rises the question if it is possible to use message ports with python blocks. I

[Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Gong Zhang
Hi, I wanna execute the dial_tone.cc example.So I execute "g++ dial_tone.cc -I /usr/local/include/gnuradio/" But I got the errors: laptop:~/Desktop/ccompile$ g++ dial_tone.cc -I /usr/local/include/gnuradio/ /tmp/ccxAFik0.o: In function `main': dial_tone.cc:(.text+0x59): undefined reference

[Discuss-gnuradio] New Module/block call issue: make function??

2013-05-14 Thread Nada ABDELKADER
Hi, I've added a module 'sensingmod' with a "noblock" block 'sensing' but when I tried to call the block from python, I got this error: Traceback (most recent call last): File "./tunnel_tx_simul.py", line 49, in from sensingmod import sensing File "/usr/local/lib/python2.7/dist-pac

Re: [Discuss-gnuradio] Newcomer wish.

2013-05-14 Thread Erik Jakobsen
On Tue, May 14, 2013 at 09:01:00AM +0200, Erik Jakobsen wrote: Are there beginner info somewhere, where it's able to see/learn how to build blocks with GRC ? There's tutorials on the web site. But you don't actually build blocks with GRC (unless they're hierarchical blocks), you use them. MB

Re: [Discuss-gnuradio] Compiling Module Issue

2013-05-14 Thread Nada ABDELKADER
I got it, just need the destructor to be public. Nada ABDELKADER a écrit : Hi, I've added a module 'sensing' with a "noblock" block 'sensing' but when I tried to make, I got this error: Building CXX object swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o In file included

[Discuss-gnuradio] Compiling Module Issue

2013-05-14 Thread Nada ABDELKADER
Hi, I've added a module 'sensing' with a "noblock" block 'sensing' but when I tried to make, I got this error: Building CXX object swig/CMakeFiles/_sensing_swig.dir/sensing_swigPYTHON_wrap.cxx.o In file included from /home/utilisateur/Documents/Work_tx/gr-sensing/build/swig/sensing_swigPY

Re: [Discuss-gnuradio] Newcomer wish.

2013-05-14 Thread Martin Braun (CEL)
On Tue, May 14, 2013 at 09:01:00AM +0200, Erik Jakobsen wrote: > Are there beginner info somewhere, where it's able to see/learn how > to build blocks with GRC ? There's tutorials on the web site. But you don't actually build blocks with GRC (unless they're hierarchical blocks), you use them. MB

Re: [Discuss-gnuradio] Failure in file-source loopback test with packet encoder/decoder

2013-05-14 Thread William McCall
Trying again. Is this normal? --WM On 05/02/2013 04:30 PM, William McCall wrote: Hello all-- Built from: Master Last commit: b52a6f36d76012951b72ad07277664bbc07d57cd I am attempting a loopback test using the packet encoder/decoder and a few different modulation schemes (QAM for this specific

[Discuss-gnuradio] Newcomer wish.

2013-05-14 Thread Erik Jakobsen
Hi. Are there beginner info somewhere, where it's able to see/learn how to build blocks with GRC ? /Erik ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio