[Discuss-gnuradio] USRP1 questions

2011-12-12 Thread osama mohamed
hi all, i am using USRP1 with basic tx and rx boards and i have been suffering some problems recently so i hope you could answer the following questions(even if not all of them) Q1: when i run the examples tx_timed_samples.cpp and tx_burst.cpp i don't get any output i tried various sampling

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Martin Braun
On Sun, Dec 11, 2011 at 01:18:59AM -0700, Matt Mills wrote: > All, > > The attached script crashes with a segmentation fault (or with the I/O error > text in the code). My C++ knowledge is lacking however I believe this is > because work() and close() are both being called simultaneously from diff

Re: [Discuss-gnuradio] gr_firdes cutoff frequency

2011-12-12 Thread Martin Braun
Hi Songsong, the cutoff frequency is relative to the given sampling rate, whatever that is. The firdes stuff doesn't know about the "true" sampling rate. It's not uncommon to set the sampling rate to 1 and then have cutoff somewhere in between 0 and 1. MB On Mon, Dec 12, 2011 at 02:53:07PM +090

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Martin Braun
On Sun, Dec 11, 2011 at 02:31:03PM -0500, Marcus D. Leech wrote: > I think that what I'd do is cause the close() method to simply set a flag that > says "close desired", and then do the actual close at the end of > the work function, probably under a mutex. That sounds sensible. It could be done

[Discuss-gnuradio] FM transmitter

2011-12-12 Thread MOHD RAFIQ
Hi, is it possible to make gnuradio/usrp2/WBX & fedora 15, combination as FM transmitter to stream audio files as we can do in some smart phones. please help,if you  there is a grc/python file already, I have tried others on web but they dont work for my setup. I appreciate any comments, Thanks

[Discuss-gnuradio] cmake errors on first attempt with master branch

2011-12-12 Thread Justin Ford
Are errors expected on the first attempt of cmake or could the errors indicate an underlying dependency issue?  I have other build issues and I'm trying to rule out all the possibilities. When I first attempt cmake I get errors: -- Using install prefix: /usr/local -- Building for version: 3.5.

Re: [Discuss-gnuradio] cmake errors on first attempt with master branch

2011-12-12 Thread Josh Blum
On 12/12/2011 08:40 AM, Justin Ford wrote: > > Are errors expected on the first attempt of cmake or could the errors > indicate an underlying dependency issue? I have other build issues and I'm > trying to rule out all the possibilities. > > When I first attempt cmake I get errors: > > -- U

[Discuss-gnuradio] Tis the season.. n210 on ebay scamed

2011-12-12 Thread dave k
what a nice holiday surprise anyone else buy a n210 from seller "occupyonline" ? They sent a envelope with a CDROM of ubuntu and some paperwork on how to install!! I know it was a gamble as he had "0" feedback. It looked legit, and to get one for 1200$, with ebay buyer protection, I am not worr

Re: [Discuss-gnuradio] Tis the season.. n210 on ebay scamed

2011-12-12 Thread Matt Mills
I saw him selling an N210 one week, then the next he was trying to sell an N210 + some Micro ATX machine for 2400$; I figured it was a scam after that one... On Mon, Dec 12, 2011 at 9:59 AM, dave k wrote: > what a nice holiday surprise > anyone else buy a n210 from seller "occupyonline" ? > They

Re: [Discuss-gnuradio] USRP1 questions

2011-12-12 Thread osama mohamed
> Date: Mon, 12 Dec 2011 08:07:57 -0800 > From: j...@ettus.com > To: osama_valencia...@hotmail.com; usrp-us...@lists.ettus.com > Subject: Re: [Discuss-gnuradio] USRP1 questions > > > > On 12/12/2011 01:52 AM, osama mohamed wrote: > > > > hi all, > > i am using USRP1 with basic tx and rx boa

Re: [Discuss-gnuradio] USRP1 questions

2011-12-12 Thread Nick Foster
Use the advanced tuning parameters. http://files.ettus.com/uhd_docs/manual/html/general.html#tuning-notes 2011/12/12 osama mohamed : > > >> Date: Mon, 12 Dec 2011 08:07:57 -0800 >> From: j...@ettus.com >> To: osama_valencia...@hotmail.com; usrp-us...@lists.ettus.com >> Subject: Re: [Discuss-gnura

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Matt Mills
On Mon, Dec 12, 2011 at 3:41 AM, Martin Braun wrote: > * Do you randomly get either segfault or i/o error? I always get the i/o > with this code.. > I get both. > * Your code stresses the WAV-code a lot :) What are you trying to > accomplish? Are you finding a bug in wavfile_sink or do you n

Re: [Discuss-gnuradio] USRP1 questions

2011-12-12 Thread osama mohamed
hi josh, i tried the example tx_waveforms.cpp using the following arguments --freq 100 --rate 800 --gain 20 --wave-type "SQUARE" --wave-freq 20 --ampl 0.3 --spb 1 but there is an under run error so is there any suggested answer please sorry for asking too much questions but i

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Martin Braun
On Mon, Dec 12, 2011 at 11:49:56AM +0100, Martin Braun wrote: > On Sun, Dec 11, 2011 at 02:31:03PM -0500, Marcus D. Leech wrote: > > I think that what I'd do is cause the close() method to simply set a flag > > that > > says "close desired", and then do the actual close at the end of > > the wor

Re: [Discuss-gnuradio] Problem with new swig docs stuff

2011-12-12 Thread Justin Ford
> Date: Wed, 7 Dec 2011 11:06:29 -0700 > From: b...@reynwar.net > To: j...@ettus.com; discuss-gnuradio@gnu.org > Subject: Re: [Discuss-gnuradio] Problem with new swig docs stuff > > On Tue, Dec 6, 2011 at 3:51 PM, Josh Blum wrote: > > Tom/Ben, > > > > I

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Martin Braun
On Mon, Dec 12, 2011 at 10:37:35AM -0700, Matt Mills wrote: > On Mon, Dec 12, 2011 at 3:41 AM, Martin Braun wrote: > > * Do you randomly get either segfault or i/o error? I always get the i/o >  with this code.. > > I get both. >   > > * Your code stresses the WAV-code a lot :) What

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Matt Mills
On Mon, Dec 12, 2011 at 10:47 AM, Martin Braun wrote: > On Mon, Dec 12, 2011 at 11:49:56AM +0100, Martin Braun wrote: > > On Sun, Dec 11, 2011 at 02:31:03PM -0500, Marcus D. Leech wrote: > > > I think that what I'd do is cause the close() method to simply set a > flag that > > > says "close desir

Re: [Discuss-gnuradio] Segmentation fault in wav file sink

2011-12-12 Thread Matt Mills
On Mon, Dec 12, 2011 at 10:57 AM, Matt Mills wrote: > > But wont this only close() a file when the sink is receiving samples? I > would think it would be extremely confusing if close() doesnt actually > close a file until the next sample is received, especially if there is a > valve in front of t

Re: [Discuss-gnuradio] USRP1 questions

2011-12-12 Thread Nick Foster
2011/12/12 osama mohamed : > hi josh, > > i tried the example tx_waveforms.cpp using the following arguments  --freq > 100 --rate 800 --gain 20 --wave-type "SQUARE" --wave-freq 20 > --ampl 0.3 --spb 1 but there is an under run error so is there any > suggested answer please > > sorr

Re: [Discuss-gnuradio] underrun occurs when frequency changing

2011-12-12 Thread Yan Nie
> >Really appreciate any of your suggestion! > > > Underrun is caused by your flow-graph not being able to provide samples to > the hardware at the specified rate.  It looks to me like in >   your flow-graph above, your message-queue can easily get starved for new > bits, and so the entire flow-g

Re: [Discuss-gnuradio] underrun occurs when frequency changing

2011-12-12 Thread Marcus D. Leech
On 12/12/2011 01:41 PM, Yan Nie wrote: Really appreciate any of your suggestion! Underrun is caused by your flow-graph not being able to provide samples to the hardware at the specified rate. It looks to me like in your flow-graph above, your message-queue can easily get starved for new b

Re: [Discuss-gnuradio] cmake errors on first attempt with master branch

2011-12-12 Thread Josh Blum
On 12/12/2011 09:59 AM, Justin Ford wrote: > > > > >> Date: Mon, 12 Dec 2011 08:44:48 -0800 >> From: j...@ettus.com >> To: discuss-gnuradio@gnu.org >> Subject: Re: [Discuss-gnuradio] cmake errors on first attempt with master >> branch >> >> >> Cant tel

[Discuss-gnuradio] New build-gnuradio

2011-12-12 Thread Marcus D. Leech
Updated some Ubuntu depends that have come in "from the field", including "gtk2-engines-pixbuf". -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Paul Miller
On Wed, Dec 7, 2011 at 2:03 PM, Josh Blum wrote: > I cant say yet as to why, but at least its reproducible. I spent a few hours source diving today and gdb-stepping. I could not figure it out, but I did find that it's broken in every minor release after 2.0.1 (2.0.2, 3 and 4). I finally gave u

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Josh Blum
On 12/12/2011 05:10 PM, Paul Miller wrote: > > On Wed, Dec 7, 2011 at 2:03 PM, Josh Blum wrote: >> I cant say yet as to why, but at least its reproducible. > > I spent a few hours source diving today and gdb-stepping. I > could not figure it out, but I did find that it's broken in every > min

Re: [Discuss-gnuradio] Problem with new swig docs stuff

2011-12-12 Thread Tom Rondeau
On Wed, Dec 7, 2011 at 1:06 PM, Ben Reynwar wrote: > On Tue, Dec 6, 2011 at 3:51 PM, Josh Blum wrote: > > > >> > >> [ 47%] Generating general_swig_doc.i > >> Error in xml in file > /home/gr/source/git/gnuradio/build/gnuradio-core/src/lib/swig/general_swig_doc_swig_docs/xml/gr__simple__framer__s

Re: [Discuss-gnuradio] FM transmitter

2011-12-12 Thread محمد روسلي
Hi, There are example python code and grc from the repository. You can try it yourself. Regards, Muhammad On Tue, Dec 13, 2011 at 2:41 AM, MOHD RAFIQ wrote: > Hi, is it possible to make gnuradio/usrp2/WBX & fedora 15, combination as > FM transmitter to stream audio files as we can do in some s

Re: [Discuss-gnuradio] FM transmitter

2011-12-12 Thread Rafael Diniz
Take also a look in here: http://mmbtools.crc.ca/content/view/45/73/ and here: http://www.opendigitalradio.org/index.php/FM_RDS_Stereo_transmitter_using_gnuradio Best regards, Rafael Diniz > Hi, > > There are example python code and grc from the repository. You can try it > yourself. > > Regards,

Re: [Discuss-gnuradio] New build-gnuradio

2011-12-12 Thread محمد روسلي
Hi, I personally think we should include that as a part of pre-requisite library required for Ubuntu. Regards, Muhammad Rosli Student University of Canterbury On Tue, Dec 13, 2011 at 11:31 AM, Marcus D. Leech wrote: > Updated some Ubuntu depends that have come in "from the field", including >

Re: [Discuss-gnuradio] FM transmitter

2011-12-12 Thread محمد روسلي
Hi, Initially I would like to recommend that links as I worried the gnuradio has changed the source and sink for the USRP. But, I guess it wouldn't hurt. Thanks Rafael. Regards, Muhammad Rosli Student University of Canterbury On Tue, Dec 13, 2011 at 3:27 PM, Rafael Diniz wrote: > Take also a

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

2011-12-12 Thread Paul Miller
On Mon, Dec 12, 2011 at 05:19:13PM -0800, Josh Blum wrote: > Its weird that feval works ok, I tried for a bit, but I couldnt figure > out what was different about my blocks. This will take more effort to > figure out if thats possible, but I do think its a bug in swig. Well, let me know if I can h

[Discuss-gnuradio] Default antenna with RFX2400

2011-12-12 Thread Phone Naing MYINT
Hi, I'm using USRP2 with RFX2400 daughter board. I'm using GRC. By default which antenna are used for USRP-source and USRP-sink? PN ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Default antenna with RFX2400

2011-12-12 Thread Josh Blum
On 12/12/2011 08:14 PM, Phone Naing MYINT wrote: > Hi, > > I'm using USRP2 with RFX2400 daughter board. I'm using GRC. By default which > antenna are used for USRP-source and USRP-sink? http://files.ettus.com/uhd_docs/manual/html/dboards.html#rfx-series -josh

Re: [Discuss-gnuradio] Default antenna with RFX2400

2011-12-12 Thread Marcus D. Leech
On 12/12/11 11:14 PM, Phone Naing MYINT wrote: > > Hi, > > > > I'm using USRP2 with RFX2400 daughter board. I'm using GRC. By default > which antenna are used for USRP-source and USRP-sink? > > > > PN > > http://files.ettus.com/uhd_docs/manual/html/dboards.html#rfx-series -- Principal Inve

Re: [Discuss-gnuradio] Default antenna with RFX2400

2011-12-12 Thread Phone Naing MYINT
Hi, TX is clear, defaulted to TX/RX. RX default to direct conversion, what does it mean? For receive, using TX/RX or RX2 provides same performance? PN -Original Message- From: discuss-gnuradio-bounces+phonenaing.myint=sg.panasonic@gnu.org [mailto:discuss-gnuradio-bounces+phonenain

Re: [Discuss-gnuradio] Default antenna with RFX2400

2011-12-12 Thread Josh Blum
On 12/12/2011 08:25 PM, Phone Naing MYINT wrote: > Hi, > > TX is clear, defaulted to TX/RX. RX default to direct conversion, what does > it mean? RFX2400 is a direct conversion receiver *and* a direct conversion transmitter. What the docs really should say: 1) When you tune the transmit chain

[Discuss-gnuradio] USRP2 metric measurement

2011-12-12 Thread MOHD RAFIQ
Hi, I need to measure any metric(say RSSI) of one USRP2 from the other, to implement a selection scheme that selects best USRP2 based on best metric. what best can be measured to estimate the quality of the link. All comments/suggestions are welcome I am using gnuradio 3.5, on fedora 15. USRP2