Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Josh Blum
Aha, I knew I had unit tests. Study these carefully: https://github.com/guruofquality/grextras/blob/master/python/qa_block_gateway.py#L104 And just for sanity, make sure that "make test" passed for you :-) -josh On 07/13/2012 01:20 PM, Anisha Gorur wrote: > Also, I've been assuming that nitems_

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Anisha Gorur
Also, I've been assuming that nitems_written/read is from gr_block_detail, and add_item_tag is from gr_block and that they have both been swigged, since you used them in your example. Is it possible that they haven't been? Thanks -Anisha On Fri, Jul 13, 2012 at 3:57 PM, Anisha Gorur wrote: > I d

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Anisha Gorur
I don't think I'm writing the work function... def work(self, input_items, output_items): item_index = 1 #which output item gets the tag? offset = self.nitems_written(0) + item_index key = pmt.pmt_string_to_symbol("example_key") value = pmt.pmt_string_to_symbol("ex

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Josh Blum
On 07/13/2012 12:08 PM, Anisha Gorur wrote: > Thanks for the examples, I will definitely be looking into them! > As for links, This one: http://gnuradio.org/cgit/jblum.git/log/?h=next is > broken, it comes from one of the blocks coding guide here: > http://gnuradio.org/redmine/projects/gnuradio/w

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Anisha Gorur
Thanks for the examples, I will definitely be looking into them! As for links, This one: http://gnuradio.org/cgit/jblum.git/log/?h=next is broken, it comes from one of the blocks coding guide here: http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide/diff/2which i found really helpf

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Josh Blum
On 07/13/2012 10:08 AM, Anisha Gorur wrote: > Thanks! > Do you by any chance have links to specific code examples that could help > out? I've been trying to look at old examples you have posted to others on > this forum, however, some of the links from github seem to be broken. > Well, I dont h

Re: [Discuss-gnuradio] Error Running uhd_tx_dpsk.grc and uhd_rx_dpsk.grc

2012-07-13 Thread Josh Blum
On 07/13/2012 01:08 AM, chongmin wrote: > > Hi everyone, > > I have just started on GNURadio for an undergraduate project and I would > require a little assistance. > > I tried to run the dpsk transmitter and receiver examples, found in > gnuradio/examples/uhd/uhd_rx_dpsk.grc and > gnuradio/ex

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Anisha Gorur
Thanks! Do you by any chance have links to specific code examples that could help out? I've been trying to look at old examples you have posted to others on this forum, however, some of the links from github seem to be broken. On Fri, Jul 13, 2012 at 12:52 PM, Josh Blum wrote: > > > On 07/13/201

Re: [Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Josh Blum
On 07/13/2012 08:51 AM, Anisha Gorur wrote: > Hello all, > I've been trying to work with stream tags in python, mainly using the > grextras blocks coding guide > here:https://github.com/guruofquality/grextras/wiki/Blo... >

[Discuss-gnuradio] Read/Write stream tags in Python

2012-07-13 Thread Anisha Gorur
Hello all, I've been trying to work with stream tags in python, mainly using the grextras blocks coding guide here:https://github.com/guruofquality/grextras/wiki/Blo... . I've set up a very simple flow graph

Re: [Discuss-gnuradio] [USRP-users] about the tunnel.py

2012-07-13 Thread Weixian Zhou
Check https://www.ettus.com/product/category/Daughterboards. On Fri, Jul 13, 2012 at 10:04 AM, CHAO DONG wrote: > Thanks very much. > I use rfx400 and rfx2400 now, they're half duplex? > > Regards, > Chao > 在 2012-7-13 下午2:51,"Alex Zhang" 写道: > > The tunnel.py problem seems being complained for

Re: [Discuss-gnuradio] [USRP-users] about the tunnel.py

2012-07-13 Thread CHAO DONG
Thanks very much. I use rfx400 and rfx2400 now, they're half duplex? Regards, Chao 在 2012-7-13 下午2:51,"Alex Zhang" 写道: > The tunnel.py problem seems being complained for thousand times :) No > one has final solution now, at least in the archive. > > In my experience, actually, this is a full

Re: [Discuss-gnuradio] cmake error if cppunit not installed

2012-07-13 Thread Nicholas Corgan
Linux Mint 13 is heavily based on Ubuntu 12.04, so I recreated the bug and can confirm it exists in Ubuntu 12.04 32/64 bit. I ran CMake with the fix, and both still report this error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them o

[Discuss-gnuradio] GSoC: Tests and Acquisition Block for a Galileo Receiver

2012-07-13 Thread luis
Hi all, as the mid-term evaluations happen this week, I want to make a small summary of my progress in the development of the blocks of Galileo for the GNSS-SDR software. In the Community Bonding Period of GSoC, I concentrated on reading and understanding the Galileo Signal In Space Interfac

Re: [Discuss-gnuradio] cmake error if cppunit not installed

2012-07-13 Thread Tom Rondeau
On Fri, Jul 13, 2012 at 5:06 AM, Alexandru Csete wrote: > Greetings, > > Trying to run cmake on a Linux Mint 13 installation that doesn't have > cppunit leads to what looks like an unintentional error message: > > -- Configuring gr-filter support... > -- Dependency ENABLE_GRUEL = ON > -- Depen

Re: [Discuss-gnuradio] Gnuradio with Alinco DJ-X11

2012-07-13 Thread Martin Braun (CEL)
On Fri, Jul 13, 2012 at 12:15:29PM +0200, Alexandru Csete wrote: > > I would like to start with gnuradio since I own a wideband receiver > > that is capable of SDR. The device is called Alinco DJ-X11 and you can > > find its specs here: http://www.alinco.com/Products/DJ-X11/ > > I think the most im

Re: [Discuss-gnuradio] Gnuradio with Alinco DJ-X11

2012-07-13 Thread Alexandru Csete
On Fri, Jul 13, 2012 at 11:46 AM, Sebastian Opitz wrote: > Hello, > > I would like to start with gnuradio since I own a wideband receiver > that is capable of SDR. The device is called Alinco DJ-X11 and you can > find its specs here: http://www.alinco.com/Products/DJ-X11/ > I think the most import

[Discuss-gnuradio] Gnuradio with Alinco DJ-X11

2012-07-13 Thread Sebastian Opitz
Hello, I would like to start with gnuradio since I own a wideband receiver that is capable of SDR. The device is called Alinco DJ-X11 and you can find its specs here: http://www.alinco.com/Products/DJ-X11/ I think the most important fact is that it outputs I/Q-Data via the earphone-jack which is c

[Discuss-gnuradio] cmake error if cppunit not installed

2012-07-13 Thread Alexandru Csete
Greetings, Trying to run cmake on a Linux Mint 13 installation that doesn't have cppunit leads to what looks like an unintentional error message: -- Configuring gr-filter support... -- Dependency ENABLE_GRUEL = ON -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependen

[Discuss-gnuradio] Error Running uhd_tx_dpsk.grc and uhd_rx_dpsk.grc

2012-07-13 Thread chongmin
Hi everyone, I have just started on GNURadio for an undergraduate project and I would require a little assistance. I tried to run the dpsk transmitter and receiver examples, found in gnuradio/examples/uhd/uhd_rx_dpsk.grc and gnuradio/examples/uhd/uhd_tx_dpsk.grc. I am using the N210 USRP with th

Re: [Discuss-gnuradio] Does each antenna of USRP N210 can both transmit and receive?

2012-07-13 Thread chongmin
Hi Weixian, I am also using a similar configuration. According to the ettus website, I got the following information, hope this helps. Both antennas can transmit and receive according to the information, but only one function (transmit/receive) can be done at a time as the XCVR2450 is half-duplex