[Discuss-gnuradio] Question on incorporate different constellation indexing in gr-digital constellation objects

2014-05-02 Thread Zhe Feng
Dear all, I have a question related to the constellation objects in gr-digital. After checking the constellation.cc, I found the constellation of 8PSK and QPSK class are all Grey coded. Now I want to use a 8PSK constellation with natural mapping. I know I can just modify the constellation indexi

[Discuss-gnuradio] Questions on callback functions implementation of blocks in gr-trellis

2014-05-02 Thread Zhe Feng
Hi all, I'm working on a system with trellis coding and I met a problem with the python callback function generated by grc . Because there are several parameters used in the blocks needs to be updated. I added callback functions for those parameters in those c++ files. For example, to add callb

[Discuss-gnuradio] How to update the value of a variable by reading message in grc?

2014-05-02 Thread Zhe Feng
Hi all, I'm working on a system with packet headers. I want to use the message decoded by the Packet Header Parser to update a variable. I knew the message can be stored in a message debug block, and be retrieved by using the "get_message" function. So I can define a get function to read the me

[Discuss-gnuradio] configuration incomplete , errors occur !

2014-05-02 Thread Sara Chérif
I am installing GNU radio using this command wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio --verbose But I found at the end of the installation an error (after 2 hours from beginning of installation during building of extra modules ) Building ext

Re: [Discuss-gnuradio] Testing

2014-05-02 Thread Sara Chérif
I think maybe there is something wrong in installation also , so I am reinstalling GNURADIO now. I want to make OFDM system with some requirements on parameters. I don't know how to start . I think I must start by synchronization part as it is the most important part . So to understand how the sync

Re: [Discuss-gnuradio] Testing

2014-05-02 Thread West, Nathan
On Fri, May 2, 2014 at 8:46 AM, Activecat wrote: > > On Fri, May 2, 2014 at 5:57 PM, Sara Chérif wrote: >> >> Here is the file . I wrote std::cout in the work() , why I don't see the >> output from this file on terminal after rebuilding ?! > > > It seems like the work() function is not called at

Re: [Discuss-gnuradio] FYI: "make test" error in qa_python_message_passing as of devel commit b20df754

2014-05-02 Thread Johnathan Corgan
On 05/02/2014 08:09 AM, Michael Dickens wrote: > 48: AssertionError: 'system' != 'in_port' This issue was fixed and merged into the master branch. -- Johnathan Corgan, Corgan Labs SDR Training and Development Services http://corganlabs.com <> signature.asc Description: OpenPGP digital signatur

Re: [Discuss-gnuradio] On air 16_QAM transmission problem with USRP N210

2014-05-02 Thread Tom Rondeau
On Fri, May 2, 2014 at 11:08 AM, Martin Braun wrote: > On 02.05.2014 16:59, zielalaoui wrote: > >> Hi to all, >> I resolved my problem and I want to share the solution >> The problem was the amplitude in the QAM demod block input. I checked the >> constellation in the transmitter directly before U

[Discuss-gnuradio] FYI: "make test" error in qa_python_message_passing as of devel commit b20df754

2014-05-02 Thread Michael Dickens
% ctest -V -R python_message UpdateCTestConfiguration from :/opt/MacPorts/trunk/dports/science/gnuradio/work/build/DartConfiguration.tcl UpdateCTestConfiguration from :/opt/MacPorts/trunk/dports/science/gnuradio/work/build/DartConfiguration.tcl Test project /opt/MacPorts/trunk/dports/science/gn

Re: [Discuss-gnuradio] On air 16_QAM transmission problem with USRP N210

2014-05-02 Thread Martin Braun
On 02.05.2014 16:59, zielalaoui wrote: Hi to all, I resolved my problem and I want to share the solution The problem was the amplitude in the QAM demod block input. I checked the constellation in the transmitter directly before UHD usrp block for being sure the the constellation points are good d

Re: [Discuss-gnuradio] On air 16_QAM transmission problem with USRP N210

2014-05-02 Thread zielalaoui
Hi to all, I resolved my problem and I want to share the solution The problem was the amplitude in the QAM demod block input. I checked the constellation in the transmitter directly before UHD usrp block for being sure the the constellation points are good depending on the samples/symbol value (8 w

Re: [Discuss-gnuradio] GR 3.7 Namespace Question

2014-05-02 Thread Michael Dickens
Hi Ed - Are you asking whether you can reuse the same namespace and block name with an OOT module? If so, then so long as you don't load the library containing the GR-provided block(s), you can make it work -- it's a C++ issue rather than anything else. That said, it would generally be better

[Discuss-gnuradio] GR 3.7 Namespace Question

2014-05-02 Thread Ed Criscuolo
With the new use of C++ namespaces in the 3.7 API, is it possible for an Out-of-tree (OOT) module to create blocks that are part of an existing GR namespace? For instance, if I have a new block that processes digital data streams, can I create an OOT module called "digital" and add my block to it

[Discuss-gnuradio] Difference between ofdm_txrx.py and benchmark ofdm program.

2014-05-02 Thread Karan Talasila
Hi, We are experimenting with ofdm transmission and reception. We are using benchmark_tx.py and benchmark_rx.py for transmission and reception in the examples folder of gnuradio ( */usr/local/share/gnuradio/examples/digital/ofdm*). We are able to transmit and receive succesfully. Tracing the

Re: [Discuss-gnuradio] Testing

2014-05-02 Thread Activecat
On Fri, May 2, 2014 at 5:57 PM, Sara Chérif wrote: > Here is the file . I wrote std::cout in the work() , why I don't see the > output from this file on terminal after rebuilding ?! > It seems like the work() function is not called at all by the scheduler. Probably the ofdm sync block doesn't pr

Re: [Discuss-gnuradio] matplotlib runtime error

2014-05-02 Thread Tom Rondeau
On Fri, May 2, 2014 at 8:49 AM, Marcus Müller wrote: > Hi Activecat, > > typical GUI problem; background is that X applications are inherently hard > to multithread, which basically requires graphical toolkits to run in a > main loop. This conflicts with every block being run in its own thread. >

Re: [Discuss-gnuradio] matplotlib runtime error

2014-05-02 Thread Marcus Müller
Hi Activecat, typical GUI problem; background is that X applications are inherently hard to multithread, which basically requires graphical toolkits to run in a main loop. This conflicts with every block being run in its own thread. The easiest solution nowadays should be that you generate a QT f

Re: [Discuss-gnuradio] Post Binary Slicer question

2014-05-02 Thread Andre Puschmann
Hi, By chance I am also working on an OOT module for a CC1100-based device. I started out with a Python version as Michael also suggested, but now I am migrating it to C++. I actually plan working on it during the EU Hackfest next week in Karlsruhe. John, Jay, perhaps we can create a single modul

[Discuss-gnuradio] matplotlib runtime error

2014-05-02 Thread Activecat
Gurus, I try to transfer an image file via a pair of USRPs. At the receiver side, the data is fed into a custom block, where it plots the image in realtime using matplotlib's pyplot.imshow(). Unfortunately, in the work() function, the pyplot.draw() causes below runtime error. handler caught excep

Re: [Discuss-gnuradio] Testing

2014-05-02 Thread Sara Chérif
Here is the file . I wrote std::cout in the work() , why I don't see the output from this file on terminal after rebuilding ?! #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "frequency_modulator_fc_impl.h" #include #include #include #include namespace gr { namespace analog {