Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Michael, I noticed something weird, and was wondering if you've come across this already when using qt-4.7 cocoa 32-bit only, qwt, qwtplot3d, sip and pyqt4, and building gnuradio, the linker incorrectly attempts to link to the Carbon libraries, h ../../../libtool --

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, Where can I control linker architecture flags to prevent the following errors? I've built qt, qwt and qwtplot3d for 32-bit mode, and with cocoa support. However, at link time, gnuradio is trying to link to x86_64. A little futher down, it is trying to link to the Carbon framework,

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
you will have to make the constellation a 2D array (essentially representing the 2 BPSK symbols). It is all explained in the examples and the documentation of gr-trellis and in the examples... please read it; i spend a lot of time writing it... Achilleas On Mon, Jul 19, 2010 at 8:19 PM, Raman O

[Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Raman O
Hello Achilleas, I made changes to vector source and sink, encoding works fine with awgn1o2_128.fsm. But the result of encoder is 2 bit packed and is not suitable for me. Since i want to employ BPSK modulation (0-> -1 / 1 ->1), I need encoder output 1 bit at a time. Since awgn1o2_128.fsm dicta

[Discuss-gnuradio] Inband signaling and m-blocks for Frequency Hopping

2010-07-19 Thread Raullen Chai
Hi, All, In my current design, frequency hopping is designed to happen over 32MHz bandwidth, as fast as possible. (although I admit that by using USRP1, it may not be that fast as I expected). However, I am not very clear about how to do so. I checked the implementation of bluetooth (gr-bluetooth

[Discuss-gnuradio] How to change C++ source code and add to binary library

2010-07-19 Thread Tuan Ta
Hi, I have installed the GNU Radio Debian binary library (3.2.2) on my laptop running Ubuntu 10.04. Is there an easy way for me to make minor changes to the C++ source codes and add it to the binary library? Thank you, Tuan ___ Discuss-gnuradio mailing

Re: [Discuss-gnuradio] OFDM receiver on USRP2

2010-07-19 Thread Tuan Ta
Sorry for bringing up an old thread. I was having the same problem of not receiving packets using benchmark_ofdm_* and changing the receiver frequency to tune to the transmitter frequency indeed solved the problem. However, if I have to manually do it every time, I don't see how I can get ofdm tun

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
As I mentioned in my earlier email, you have misunderstood the functionality of the gr_make_vector_source_s(vec,false) block. It takes a vector "vec" as an argument and produces A STREAM OF SHORTS at its output!!! It is NOT producing a stream of vectors at its output...unless you specify this as

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
On Jul 20, 2010, at 12:56 AM, Michael Dickens wrote: > (1) On Jul 19, 2010, at 12:57 PM, Elvis Dowson wrote: >> One of the things that the guys working on GTK+ mentioned was that you >> should completely uninstall MacPorts ... > > versus (2) < http://sourceforge.net/apps/trac/gtk-osx/wiki/Build

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Michael Dickens
Ah; a subtle, but important, difference in phrasing between that needs to be pointed out for those who might be thinking of doing GTK2+Quartz on OSX: (1) On Jul 19, 2010, at 12:57 PM, Elvis Dowson wrote: One of the things that the guys working on GTK+ mentioned was that you should completel

Re: [Discuss-gnuradio] USRP2 write_gpio() command

2010-07-19 Thread Eric Blossom
On Mon, Jul 19, 2010 at 12:18:06PM -0600, Ryan L. Buffington wrote: > I'm trying to use one of the GPIO pins on my USRP 2 / WBX daughtercard to > control an external antenna selector box. I've created a simple GUI with a > USRP2 source feeding into a graphical FFT sink, and I'm able to change the

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, On Jul 19, 2010, at 11:48 PM, Michael Dickens wrote: > Use the provided 'bootstrap' routine, but remember to change the 'libtoolize' > call to 'glibtoolize' or whatever you named that function on the version you > installed yourself. If you used MacPorts to install GNU Libtool (of which >

Re: [Discuss-gnuradio] debugging code for seeing what threads are created

2010-07-19 Thread Eric Blossom
On Mon, Jul 19, 2010 at 06:46:05PM +0100, Alex wrote: > Hi, > my name is Alexandru Buda, and I'm doing a project in college based on > GNU Radio. > > I'm using the environment variable GR_SCHEDULER to enable/disable > multi-threading > for benchmarking purposes and also the linux command "ps" to s

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Raman O
Hello Achilleas,  Thanks for your response.  I have connected encoder block , it disappeared during editing mail by mistake. Input is in the form of an array of size K and vector2stream feeds encoder bit a time ,so i am using following syntax : gr_vector_source_s_sptr bit_src = gr_make_vector_so

Re: [Discuss-gnuradio] Understanding USRP2 flow control

2010-07-19 Thread Eric Blossom
On Sun, Jul 18, 2010 at 06:50:47PM +0200, OE1RSA wrote: > Dear All! > > I am starting to learn my new USRP2 device. > I bought a reasonable fast quad core PC and > a recommended ethernet board. > > I wanted to find out if I can get the interpolation 4 > working in my environment. I just connect a

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Michael, On Jul 19, 2010, at 11:55 PM, Michael Dickens wrote: > On Jul 19, 2010, at 12:57 PM, Elvis Dowson wrote: >> One of the things that the guys working on GTK+ mentioned was that you >> should completely uninstall MacPorts, to do the GTK+ installation. The GTK+ >> installation has a who

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Michael Dickens
Use the provided 'bootstrap' routine, but remember to change the 'libtoolize' call to 'glibtoolize' or whatever you named that function on the version you installed yourself. If you used MacPorts to install GNU Libtool (of which 'libtoolize' is a part), then it prepended the 'g' for you.

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Michael Dickens
On Jul 19, 2010, at 12:57 PM, Elvis Dowson wrote: One of the things that the guys working on GTK+ mentioned was that you should completely uninstall MacPorts, to do the GTK+ installation. The GTK+ installation has a whole bunch of dependencies, so I will try that last. That part I think is o

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, Would someone happen to know the procedure to update gnuradio to use newer versions of autoconf-2.66 (perhaps I can revert this to 2.65, since Michael mentioned that 2.66 had issues) and libtool-2.2.10. I've got 2 Mac OS X 10.6.4 installations, one with Mac ports installed and the ot

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Alex, On Jul 19, 2010, at 10:47 PM, Alexandru Csete wrote: > You'll find some examples in the source tree under gr-qtgui/src/python/ > I don't think they are installed in the installation directory. I haven't been able to build it yet, just processing and building all the required packages o

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
I also realized that the way you call gr_make_vector_source_s(in_bits,false,K ); is incorrect. I think you have misunderstood what this block does. You should use: gr_make_vector_source_s(in_bits,false,1 ); or simply gr_make_vector_source_s(in_bits,false); and you really don't need the vector2s

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Alexandru Csete
On 19 July 2010 20:31, Elvis Dowson wrote: > Hi Michael, >                          I've managed to get gr-qtgui to pass all > configuration checks for building on Mac OS X 10.6.4. > What do you think I should do next ? Is there a simple gnuradio example that > I can run to test if the gr-qtgui co

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Michael,                         I've managed to get gr-qtgui to pass all configuration checks for building on Mac OS X 10.6.4. What do you think I should do next ? Is there a simple gnuradio example that I can run to test if the gr-qtgui component is working?For the qwt3dplot-0.2.7 sources, use

[Discuss-gnuradio] USRP2 write_gpio() command

2010-07-19 Thread Ryan L. Buffington
I'm trying to use one of the GPIO pins on my USRP 2 / WBX daughtercard to control an external antenna selector box. I've created a simple GUI with a USRP2 source feeding into a graphical FFT sink, and I'm able to change the state of io_tx_14 using the following code: #this code is called when t

Re: [Discuss-gnuradio] gr-trellis : problem in using viterbi decoder

2010-07-19 Thread Achilleas Anastasopoulos
In your code the "encoder" block is not connected to any other block... It should be: info bits -> encoder -> modulator -> channel -> metrics -> viterbi Achilleas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailma

[Discuss-gnuradio] debugging code for seeing what threads are created

2010-07-19 Thread Alex
Hi, my name is Alexandru Buda, and I'm doing a project in college based on GNU Radio. I'm using the environment variable GR_SCHEDULER to enable/disable multi-threading for benchmarking purposes and also the linux command "ps" to see the threads created. This unfortunately only gives me the number

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, On Jul 19, 2010, at 9:23 PM, Elvis Dowson wrote: > I updated my .profile accordingly > > export PKG_CONFIG_PATH=/Developer/Applications/Qt-4.7/lib:$PKG_CONFIG_PATH I had to explicitly put the full path, and it worked, thanks, Michael export PKG_CONFIG_PATH=/Developer/Application

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi,On Jul 19, 2010, at 8:59 PM, Michael Dickens wrote:Hi Elvis - GNU Radio's configure script is looking for the PKG_CONFIG installed files for QtCore.pc & so forth.  Those need to be in the PKG_CONFIG_PATH, and I'd bet that they're not right now otherwise they would have been found.I can see a QtC

Re: [Discuss-gnuradio] grc file source

2010-07-19 Thread Alex
the file source block can read any file extension, the only thing the data has to be formatted properly, i.e. it has to store either binary data, complex numbers, integers, floats and so on. On Fri, Jul 16, 2010 at 5:59 PM, mehmet kabasakal <85kabasa...@gmail.com> wrote: > Hi guys, > > I want to l

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, I've got Qt-4.7 installed, and the paths set in my .profile. I've also run and tested PyQt4 and it works with the Qt-4.7 installation. When I run gnuradio configure, I get the following message: checking for PyQt4 for Qt4... yes checking for QTCORE... no gr-qtgui requires libQtCore

Re: [Discuss-gnuradio] How to stop a hier_block2?

2010-07-19 Thread Alexandru Csete
I was thinking of putting them in different top blocks, but maybe that's not possible, I don't know. Alex On 19 July 2010 17:11, killoqg wrote: > >  Thanks for your response Alex. > >  The hier_block2 blocks do not have start/stop methods, and I can not stop > my top_block because I have another

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Michael, On Jul 19, 2010, at 6:51 PM, Michael Dickens wrote: > > That flag is for GNU Radio's 'configure' script, and it should work for you > given where the PC file was installed. Thanks, that worked now. checking for USB... yes checking libusb-1.0/libusb.h usability... yes checking libus

Re: [Discuss-gnuradio] How to stop a hier_block2?

2010-07-19 Thread killoqg
Thanks for your response Alex. The hier_block2 blocks do not have start/stop methods, and I can not stop my top_block because I have another hier_block that I need to be running. Alexandru Csete-3 wrote: > > On 19 July 2010 16:18, killoqg wrote: >> >> Hello, >> >> I've defined a hier_bloc

Re: [Discuss-gnuradio] How to stop a hier_block2?

2010-07-19 Thread Alexandru Csete
On 19 July 2010 16:18, killoqg wrote: > > Hello, > > I've defined a hier_block2 to transmit a signal and I need to start/stop it > under certain conditions. The problem is that I'm not able to stop it. I > tried it calling the top_block.disconnect(my_hier_block) method. Then I > tried calling the

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Elvis Dowson
Hi Michael, On Jul 19, 2010, at 5:45 PM, Michael Dickens wrote: > Hi Elvis - Did you try "configure --with-fusb-tech=libusb1"? You have to > specify that you want to use LIBUSB version 1; config/usrp_libusb.m4 checks > to see if you've specified this on the CLI & if not then doesn't check for

Re: [Discuss-gnuradio] RD pin of CY7C68013 ON USRP board

2010-07-19 Thread zhdiamond
So the RD pin is floated, right? Matt Ettus wrote: > > On 07/18/2010 05:40 AM, zhdiamond wrote: >> >> when I see the USRP board, the U412:CY7C68013 has the RD PIN connected >> GND. >> but the spec said that, it's a output pin, and the default state is high. >> So I wonder to know if the RD PI

[Discuss-gnuradio] How to stop a hier_block2?

2010-07-19 Thread killoqg
Hello, I've defined a hier_block2 to transmit a signal and I need to start/stop it under certain conditions. The problem is that I'm not able to stop it. I tried it calling the top_block.disconnect(my_hier_block) method. Then I tried calling the my_hier_block.disconnect_all() method but none of t

Re: [Discuss-gnuradio] UHD example

2010-07-19 Thread Philip Balister
On 07/19/2010 07:25 AM, Elvis Dowson wrote: Hi Josh, I hope you're doing fine! I was wondering if you have an UHD example that you can share with me? I couldn't find any such example on the net, and I just need a simple starting point, to bring data from the USRP2 using UHD.

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

2010-07-19 Thread Michael Dickens
Hi Elvis - Did you try "configure --with-fusb-tech=libusb1"? You have to specify that you want to use LIBUSB version 1; config/ usrp_libusb.m4 checks to see if you've specified this on the CLI & if not then doesn't check for this version of LIBUSB. If you did try that command line, then you

[Discuss-gnuradio] analog TV modulation (NTSC or PAL)

2010-07-19 Thread Rafael Diniz
Hi people, Now that we have the WBX (and now I have mine!), it's possible to transmit in any of the available TV channels, in VHF or UHF. Do anyone have written any code that does NTSC or PAL modulation? Best Regards, Rafael Diniz ___ Discuss-gnuradio

Re: [Discuss-gnuradio] USRP2 on MacPorts

2010-07-19 Thread Manuel Fuhr
On Mon, Jul 19, 2010 at 14:22, Ninja wrote: > Just trying install gnuradio using macports, everything is ok. But it seems > USRP2 is not supported? > > $ sudo port installed | grep gnuradio >  gnuradio @3.2.2_1+python26 (active) >  gnuradio-audio-jack @3.2.2_1+python26 (active) >  gnuradio-audio-

[Discuss-gnuradio] USRP2 on MacPorts

2010-07-19 Thread Ninja
Just trying install gnuradio using macports, everything is ok. But it seems USRP2 is not supported? $ sudo port installed | grep gnuradio gnuradio @3.2.2_1+python26 (active) gnuradio-audio-jack @3.2.2_1+python26 (active) gnuradio-audio-osx @3.2.2_1+python26 (active) gnuradio-audio-portaud

Re: [Discuss-gnuradio] UHD example

2010-07-19 Thread Elvis Dowson
Hi Josh, I hope you're doing fine! I was wondering if you have an UHD example that you can share with me? I couldn't find any such example on the net, and I just need a simple starting point, to bring data from the USRP2 using UHD. best regards, Elvis Dowson ___

[Discuss-gnuradio] Segmentation fault in usrp_siggen.py hier_block

2010-07-19 Thread killoqg
Hi all, I'm trying to define a hier_block with the same functionality as the usrp_siggen top_block. The main idea is to use this new block in a dynamic way changing the frequency and/or the amplitude of the signal. I did "copy/paste" of the code of usrp_siggen.py and I put it on a hier_block2

Re: [Discuss-gnuradio] GNU Radio Companion and WxWidgets 2.9.0 on Mac OS X 10.6.4

2010-07-19 Thread Elvis Dowson
Hi, On Jul 19, 2010, at 2:08 AM, Michael Dickens wrote: > My bad: GRC uses GTK2 for the GUI, not wxPython -- right Josh? Apparently a newer vesion of GTK supports Mac OS X's quartz backend, bypassing X11, so that the applications will look like a Mac app, rather than an X11 app. See the follow

Re: [Discuss-gnuradio] How to set default ethernet interface to eth2

2010-07-19 Thread Tim Pearce
> > How can I tell GNU Radio to only use the eth2 interface for all > communications with the USRP2, instead of eth0? > For python scripts you change the defaults by modifying: gnuradio/gr-usrp2/src/usrp2.i For the four blocks change std::string ifc="eth0" to std::string ifc="eth2" and recompile