Re: [Discuss-gnuradio] howto create multiple carriers with usrp

2019-03-26 Thread Ron Economos
A multiply constant block is needed to reduce the level for actual transmission with an SDR. It should be set to 1 / (number of active carriers). Also an odd number of carriers produces a cleaner spectrum. Updated flow graph attached. Ron On 3/26/19 04:55, Ron Economos wrote: Just use an

Re: [Discuss-gnuradio] howto create multiple carriers with usrp

2019-03-26 Thread Ron Economos
Just use an inverse FFT. Flow graph attached. In the vector source, just zero out carriers you don't want. Ron On 3/26/19 00:45, on4...@telenet.be wrote: Hi group, I want to create 10 or 20 or 30 carriers all spaced evenly at 250Khz apart. How can i do this, any tips? thanks _

Re: [Discuss-gnuradio] howto create multiple carriers with usrp

2019-03-26 Thread Michael Dickens
Use a polyphase filterbank. It's not runtime reconfigurable in GR, but if you create the correct spacing with the max you'll ever need then you can always optionally direct the output of some to a null sink. Hope this is useful! - MLD On Tue, Mar 26, 2019, at 3:46 AM, on4...@telenet.be wrote: >

[Discuss-gnuradio] howto create multiple carriers with usrp

2019-03-26 Thread on4bhm
Hi group, I want to create 10 or 20 or 30 carriers all spaced evenly at 250Khz apart. How can i do this, any tips? thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] howto example error

2014-05-22 Thread Michael Dickens
Hi Pengyu - The way testing works right now under OSX (assuming you're using OSX and MacPorts, yes?), you have to specify -all- of the dependency paths correctly before calling GR_ADD_TEST. The "test_howto" is probably a C++ compiled executable, which CMake will know how to link correctly becau

Re: [Discuss-gnuradio] howto example error

2014-05-22 Thread Alfredo Muniz
On Thu, May 22, 2014 at 2:25 PM, Pengyu Zhang wrote: > Any idea how could I get over this problem? Looking through my howto files, I have that import line commented out but then again I was playing around with python only things. ___ Discuss-gnuradio

[Discuss-gnuradio] howto example error

2014-05-22 Thread Pengyu Zhang
Hi, I'm playing with the howto example as shown by the following link on a Macbook Pro machine. http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules I can go until $make. When I run $make test, an error pops up and shows $ make test Running tests... Test project /Users/pzhang/tmp

Re: [Discuss-gnuradio] howto to set the mux in usrp1

2013-05-26 Thread Wolfgang Buesser
Hm, with this self.u_rx.set_subdev_spec("A:A A:B",0) I get a segfault: #!/usr/bin/python

Re: [Discuss-gnuradio] howto to set the mux in usrp1

2013-05-26 Thread Josh Blum
On 05/26/2013 05:49 AM, Wolfgang Buesser wrote: > Hi josh, > > thank's for the hint - but this is not quite what I want to do: > > In the future I want to use 4 separate inputs - this is for a > network-analyzer with 2 directional couplers for S11, S21, S12, S22. > For a start I want to use onl

Re: [Discuss-gnuradio] howto to set the mux in usrp1

2013-05-26 Thread Wolfgang Buesser
Hi josh, thank's for the hint - but this is not quite what I want to do: In the future I want to use 4 separate inputs - this is for a network-analyzer with 2 directional couplers for S11, S21, S12, S22. For a start I want to use only RX-board A with 2 different signals on both inputs. This impli

Re: [Discuss-gnuradio] howto to set the mux in usrp1

2013-05-26 Thread Josh Blum
On 05/26/2013 05:00 AM, Wolfgang Buesser wrote: > Hello, > > I using a usrp1 populated with 2 LF-RX and 2 LF-TX. > I want to use 2 DDCs the I-inputs of which are connected to the 2 ADCs on > LF_RX A (Q-inputs to gnd). > > In pre-uhd times I used to use set_mux, but now the API seems to have ch

[Discuss-gnuradio] howto to set the mux in usrp1

2013-05-26 Thread Wolfgang Buesser
Hello, I using a usrp1 populated with 2 LF-RX and 2 LF-TX. I want to use 2 DDCs the I-inputs of which are connected to the 2 ADCs on LF_RX A (Q-inputs to gnd). In pre-uhd times I used to use set_mux, but now the API seems to have changed. The following code produces the error message: Attribute

Re: [Discuss-gnuradio] howto select subdev with USRP1

2013-05-25 Thread Marcus D. Leech
On 05/25/2013 11:55 AM, Wolfgang Buesser wrote: On Sa, 2013-05-25 at 10:56 -0400, Marcus D. Leech wrote: On 05/25/2013 10:45 AM, Wolfgang Buesser wrote: On Sa, 2013-05-25 at 10:15 -0400, Marcus D. Leech wrote: On 05/25/2013 03:28 AM, Wolfgang Buesser wrote: Hi I am having problems selecting

Re: [Discuss-gnuradio] howto select subdev with USRP1

2013-05-25 Thread Wolfgang Buesser
On Sa, 2013-05-25 at 10:56 -0400, Marcus D. Leech wrote: > On 05/25/2013 10:45 AM, Wolfgang Buesser wrote: > > On Sa, 2013-05-25 at 10:15 -0400, Marcus D. Leech wrote: > >> On 05/25/2013 03:28 AM, Wolfgang Buesser wrote: > >>> Hi > >>> > >>> I am having problems selecting the subdev with USRP1: >

[Discuss-gnuradio] howto select subdev with USRP1

2013-05-25 Thread Wolfgang Buesser
Hi I am having problems selecting the subdev with USRP1: My USRP1 is populated with 2 LFRX and 2 LFTX. I am trying the following code: -- #!/usr/bin/python

Re: [Discuss-gnuradio] Howto

2012-11-22 Thread Martin Braun (CEL)
On Wed, Nov 21, 2012 at 11:16:34AM -0500, Brooke Hayden wrote: > I am also working on completing the tutorial and have got the same error. I've You'll have to elaborate on that. The same error as others have been having? > only edited the files the tutorial instructed me to. How would I manually

[Discuss-gnuradio] Howto

2012-11-21 Thread Brooke Hayden
MB, I am also working on completing the tutorial and have got the same error. I've only edited the files the tutorial instructed me to. How would I manually import howto_swig? Also, I'm using 3.6.2, but gr-howto-write-a-block was only 3.6.0 when I found it. Thanks

Re: [Discuss-gnuradio] Howto Problems

2012-11-19 Thread Martin Braun (CEL)
Hi Brooke, are you mixing hand-edited code and files generated by gr_modtool? Also, can you manually import howto_swig from the build/swig dir? Besides, if you're getting started, 3.6.0 is not the newest version of GNU Radio. MB On Mon, Nov 19, 2012 at 03:08:50PM -0500, Brooke Hayden wrote: > T

[Discuss-gnuradio] Howto Problems

2012-11-19 Thread Brooke Hayden
Trying to get howto-write-a-block to work. 'ctest -V' gives errors like: "../gr-howto-write-a-block-3.6.0/lib/qa_howto_square_ff_test.sh: 8: qa_howto_square_ff: not found" and the same for square2_ff. File "/home/tim/SDR/gr-howto-write-a-block-3.6.0/python/qa_howto.py", line 24, in 3: import

Re: [Discuss-gnuradio] Howto transmit idle pattern output when data isn't available

2011-02-27 Thread Tom Rondeau
On Wed, Feb 23, 2011 at 4:07 PM, Phelps Williams wrote: > I have what I would suspect is a common dilemma with the gnuradio > architecture. I have a udp socket which is providing me a packets at less > than the bitrate being transmitted by the usrp. The datagrams being > received by the udp soc

[Discuss-gnuradio] Howto transmit idle pattern output when data isn't available

2011-02-23 Thread Phelps Williams
I have what I would suspect is a common dilemma with the gnuradio architecture. I have a udp socket which is providing me a packets at less than the bitrate being transmitted by the usrp. The datagrams being received by the udp socket are variable in size and message timing is not regular. If my

Re: [Discuss-gnuradio] howto module ... please help

2010-11-02 Thread Michael Civ
e/mike/gnuradio Does that make it seem like I have multiple installations (and if so, which ones should i remove)? How else could I find out? Thanks for the help, Mike --- On Mon, 11/1/10, Eric Blossom wrote: From: Eric Blossom Subject: Re: [Discuss-gnuradio] howto module ... please help T

Re: [Discuss-gnuradio] howto module ... please help

2010-11-01 Thread Eric Blossom
On Mon, Nov 01, 2010 at 03:29:25PM -0700, Michael Civ wrote: > Hello, I posted this a week ago and received no response. Any comments or > suggestions would be greatly appreciate. > > I recently got python programs to successfully import the howto > module, but I cannot use the functions: > Mi

[Discuss-gnuradio] howto module ... please help

2010-11-01 Thread Michael Civ
Hello, I posted this a week ago and received no response. Any comments or suggestions would be greatly appreciate. I recently got python programs to successfully import the howto module, but I cannot use the functions: Python code: #!/usr/bin/env python from gnuradio import gr import howto cl

[Discuss-gnuradio] Howto module segmentation fault

2010-10-26 Thread Michael Civ
Hello, I recently got python programs to successfully import the howto module, but I cannot use the functions. Any help or suggestions would be greatly appreciated: Python code: #!/usr/bin/env python from gnuradio import gr import howto class my_top_block(gr.top_block):     def __init__(self)

[Discuss-gnuradio] [howto] read binary manually

2009-04-06 Thread feldmaus
Hi All, for those who want to read the binary value by hand, the binary value is saved as 2*32bit value. 32bit --> I and 32bit --> Q And are saved one after another, I1 Q1 I2 Q2 I3 Q3 I4 Q4 ... No we look at I1 and describe how it will be computed by hand: For example: BIN: 100

Re: [Discuss-gnuradio] howto make

2009-03-23 Thread William Harding
Doing this presents another problem. When I run "make" I get an error that indicates that "PYTHON" is undefined in my Makefile.am (line 56). This is because the aclocal.m4 file generated by just running ./configure after removing the old aclocal.m4 file does not contain this the AM_PATH_PYTHON(..

Re: [Discuss-gnuradio] howto make

2009-03-22 Thread William Harding
Thank you Eric, but doing this present another problem. When I run "make" I get an error that indicates that "PYTHON" is undefined in my Makefile.am (line 56). This is because the aclocal.m4 file generated by just running ./configure after removing the old aclocal.m4 file does not contain this th

Re: [Discuss-gnuradio] howto make

2009-03-22 Thread Eric Blossom
On Sun, Mar 22, 2009 at 01:51:55PM -0500, William Harding wrote: > When I try to make the howto package (from the "How to write a signal > processing block" tutorial), I get and error which says: > > Version mismatch error. This is libtool 2.2.6, but the definition of this > LT_INIT comes from li

Re: [Discuss-gnuradio] howto make

2009-03-22 Thread Ryan Seal
On Sun, 22 Mar 2009 14:51:55 -0400, William Harding wrote: When I try to make the howto package (from the "How to write a signal processing block" tutorial), I get and error which says: Version mismatch error. This is libtool 2.2.6, but the definition of this LT_INIT comes from libtool 2

[Discuss-gnuradio] howto make

2009-03-22 Thread William Harding
When I try to make the howto package (from the "How to write a signal processing block" tutorial), I get and error which says: Version mismatch error. This is libtool 2.2.6, but the definition of this LT_INIT comes from libtool 2.2.4. Then it indicates that I need to recreate aclocal.m4. I have

[Discuss-gnuradio] howto enable single DAC-only ?

2008-03-31 Thread wolfgang buesser
Hi, I am still quite new to the USRP and GNU-radio, but I managed to write my first piece of code for the USRP to behave like a network-analyzer. I have 2 questions: 1)I would like to just dump 2X-1000 complex samples into 2 files and then quit (without keyboard or mouse interaction). But after

Re: [Discuss-gnuradio] Howto tune RF frequency in blocks?

2006-07-10 Thread Eric Blossom
On Tue, Jul 11, 2006 at 10:03:11AM +0800, hanwen wrote: > Thanks, Eric. Would you please tell me the exact C++ functions which do the > tuning? You can shift the frequency by multiplying by a complex exponential. # Local oscillator lo = gr.sig_source_c (if_rate,# sample ra

Re: [Discuss-gnuradio] Howto tune RF frequency in blocks?

2006-07-10 Thread hanwen
Thanks, Eric. Would you please tell me the exact C++ functions which do the tuning? Is there any C++ class relating the usrp class in python? hanwen2006/7/10, Eric Blossom <[EMAIL PROTECTED]>: On Mon, Jul 10, 2006 at 06:16:59PM +0800, 2 1 wrote:> Hi,>> I wonder if it is possible to tune the RF fr

Re: [Discuss-gnuradio] Howto tune RF frequency in blocks?

2006-07-10 Thread Eric Blossom
On Mon, Jul 10, 2006 at 06:16:59PM +0800, 2 1 wrote: > Hi, > > I wonder if it is possible to tune the RF frequency in blocks written in > c++. > > In python, statements as the follow are used to tune the frequency of RF > board. > r = u.tune(0, subdev, freq) > > I want to adjust the receiver's R

[Discuss-gnuradio] Howto tune RF frequency in blocks?

2006-07-10 Thread 2 1
Hi,   I wonder if it is possible to tune the RF frequency in blocks written in c++.   In python, statements as the follow are used to tune the frequency of RF board. r = u.tune(0, subdev, freq)   I want to adjust the receiver's RF according that of the transmitter  automatically with some frequency

Re: [Discuss-gnuradio] Howto Write a Block

2005-12-12 Thread Eric Blossom
On Sat, Dec 10, 2005 at 12:17:36PM -0500, [EMAIL PROTECTED] wrote: > It is related to the python path resolution. If I go to the > /usr/local/lib/python/site-packages/gnuradio it works. Moving to just one > level higher and it does not. > > It's the same location as the other gnuradio packages,

Re: [Discuss-gnuradio] Howto Write a Block

2005-12-10 Thread [EMAIL PROTECTED]
ubject: Re: [Discuss-gnuradio] Howto Write a Block On Fri, Dec 09, 2005 at 06:19:24PM -0500, [EMAIL PROTECTED] wrote: > I am trying to make a new by following the gr-howto-write-a-block. I was > able to successfuly make myself a local directory structure with all the > required file and compile

Re: [Discuss-gnuradio] Howto Write a Block

2005-12-09 Thread Eric Blossom
On Fri, Dec 09, 2005 at 06:19:24PM -0500, [EMAIL PROTECTED] wrote: > I am trying to make a new by following the gr-howto-write-a-block. I was > able to successfuly make myself a local directory structure with all the > required file and compile the howto_square(2)_ff.cc. > > I also so did a 'make

[Discuss-gnuradio] Howto Write a Block

2005-12-09 Thread [EMAIL PROTECTED]
I am trying to make a new by following the gr-howto-write-a-block. I was able to successfuly make myself a local directory structure with all the required file and compile the howto_square(2)_ff.cc. I also so did a 'make check' in the src directory and it work good. Now the question is how do yo