[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

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 in

[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:

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: -- Using

[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

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 dave_k_...@yahoo.com wrote: what a nice holiday surprise anyone else buy a n210 from seller

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 boards and i

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 osama_valencia...@hotmail.com: Date: Mon, 12 Dec 2011 08:07:57 -0800 From: j...@ettus.com To: osama_valencia...@hotmail.com; usrp-us...@lists.ettus.com

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 martin.br...@kit.edu 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

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 work

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 j...@ettus.com wrote: Tom/Ben,

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 martin.br...@kit.edu 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

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 martin.br...@kit.edu 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

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 mmi...@2bn.net 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

Re: [Discuss-gnuradio] USRP1 questions

2011-12-12 Thread Nick Foster
2011/12/12 osama mohamed osama_valencia...@hotmail.com: 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

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-graph

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

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 tell. You gotta attach

[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

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 j...@joshknows.com 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).

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 j...@joshknows.com 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

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 b...@reynwar.net wrote: On Tue, Dec 6, 2011 at 3:51 PM, Josh Blum j...@ettus.com wrote: snip [ 47%] Generating general_swig_doc.i Error in xml in file

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 mohd_rafiq...@yahoo.com wrote: Hi, is it possible to make gnuradio/usrp2/WBX fedora 15, combination as FM transmitter to stream audio files

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 mle...@ripnet.com wrote: Updated some Ubuntu depends that have come in from the

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 raf...@riseup.net

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

[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 Investigator

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

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.