Re: [Discuss-gnuradio] GRAS build error on armv7

2013-07-29 Thread Manoj Gudi
There is no equivalent instruction of pause in ARM that hints the following loop is a spin-lock loop; However I just mapped pause into NOP and its not throwing an error (yet) :D Here's the diff: diff --git a/Include/Theron/Detail/Threading/Utils.h b/Include/Theron/Detail/Threading/Utils.h index

[Discuss-gnuradio] Using Popen to start a pipe and pass the input

2013-07-29 Thread Shashank Gaur
Hello All, I am trying to use popen to open an application under a block. This looks something like that: fp = popen(command, w); //doing it in write mode if(!fp){ #Handle the error } .. pclose(fp); Now the thing is even if I am trying to track using (fp != NULL) it still keep executing

Re: [Discuss-gnuradio] new to GNUradio: AFSK and codec2 gmsk modem

2013-07-29 Thread Kristoff Bonne
Hallo Marcus, On 29-07-13 01:44, Marcus D. Leech wrote: - My first step with GNUradio was to learn a bit more about using it; so .. do some test. I wanted to use GNUradio to determine the width of an AFSK signal; so I started looking for a AFSK modulator / demodulator; to come to the

Re: [Discuss-gnuradio] GRAS build error on armv7

2013-07-29 Thread Philip Balister
On 07/29/2013 09:08 AM, Manoj Gudi wrote: There is no equivalent instruction of pause in ARM that hints the following loop is a spin-lock loop; However I just mapped pause into NOP and its not throwing an error (yet) :D Wny not only insert the asm for x86 and no code for all other archs. This

Re: [Discuss-gnuradio] GRAS build error on armv7

2013-07-29 Thread Manoj Gudi
That sounds good. From: manojgudi manoj.p.g...@gmail.com Date: Mon, 29 Jul 2013 17:00:35 +0530 Subject: [PATCH] fixed ASM --- Include/Theron/Detail/Threading/Utils.h |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Include/Theron/Detail/Threading/Utils.h

[Discuss-gnuradio] Fwd: Can open BTS run on RasPi?

2013-07-29 Thread Farhad Abdolian
Hi, I just watched a video on this link: http://www.youtube.com/watch?v=GCcKgrzbix4#at=42 They say they have ported OpenBTS and GR to RasPi and they could make phone calls between 2 mobile phones. Is that even possible? Is RasPi strong enough for handling that kind of data? I am very curious

Re: [Discuss-gnuradio] Fwd: Can open BTS run on RasPi?

2013-07-29 Thread Farhad Abdolian
HI Andrew, Thanks, I will ask the question on OpenBTS, I thought that OpenBTS was a layer on top of the GR, thanks for correcting me. BR, Farhad On Mon, Jul 29, 2013 at 2:24 PM, Andrew Back and...@carrierdetect.comwrote: Hi Farhad, On 29 July 2013 13:04, Farhad Abdolian

Re: [Discuss-gnuradio] Fwd: Can open BTS run on RasPi?

2013-07-29 Thread Andrew Back
Hi Farhad, On 29 July 2013 13:04, Farhad Abdolian fabdol...@seemaconsulting.com wrote: Hi, I just watched a video on this link: http://www.youtube.com/watch?v=GCcKgrzbix4#at=42 They say they have ported OpenBTS and GR to RasPi and they could make phone calls between 2 mobile phones. Is

[Discuss-gnuradio] where does gnuradio-companion stores the last opened flowchart ?

2013-07-29 Thread M Dammer
I notice that gnuradio-companion always opens the last used flowchart. Can anyone tell me where this information is stored? I am using several (3.6 and 3.7) GR builds in parallel and they all try to open the same flowchart when starting gnuradio-companion. I already looked (and deleted for a test)

[Discuss-gnuradio] Dynamic number of message ports using nports

2013-07-29 Thread macbany
I'm using GnuRadio 3.6.5.1 and I wanted to create a block similar to stream-to-streams for messages. In the XML I used a variable and nports so I could specify the number of ports in the flowgraph. However, I've found that this does not work. Whenever I change the variable value to something

[Discuss-gnuradio] Reading complex numbers from file dump.

2013-07-29 Thread Manu T S
Hi, I have created a file dump with samples from USRP output. Samples are in gr_complex format. Now I want to read data from the file to compute FFT. How can I read complex numbers in python from this binary file? -- Manu T S ___ Discuss-gnuradio

Re: [Discuss-gnuradio] Reading complex numbers from file dump.

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 9:38 AM, Manu T S manu.t.s...@gmail.com wrote: Hi, I have created a file dump with samples from USRP output. Samples are in gr_complex format. Now I want to read data from the file to compute FFT. How can I read complex numbers in python from this binary file? --

Re: [Discuss-gnuradio] where does gnuradio-companion stores the last opened flowchart ?

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 8:34 AM, M Dammer i...@mdammer.net wrote: I notice that gnuradio-companion always opens the last used flowchart. Can anyone tell me where this information is stored? I am using several (3.6 and 3.7) GR builds in parallel and they all try to open the same flowchart when

Re: [Discuss-gnuradio] new to GNUradio: AFSK and codec2 gmsk modem

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 5:48 AM, Kristoff Bonne krist...@skypro.be wrote: Hallo Marcus, On 29-07-13 01:44, Marcus D. Leech wrote: - My first step with GNUradio was to learn a bit more about using it; so .. do some test. I wanted to use GNUradio to determine the width of an AFSK signal;

Re: [Discuss-gnuradio] Reading complex numbers from file dump.

2013-07-29 Thread Nathan West
On Mon, Jul 29, 2013 at 9:38 AM, Manu T S manu.t.s...@gmail.com wrote: Hi, I have created a file dump with samples from USRP output. Samples are in gr_complex format. Now I want to read data from the file to compute FFT. How can I read complex numbers in python from this binary file? --

Re: [Discuss-gnuradio] Using Popen to start a pipe and pass the input

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 4:02 AM, Shashank Gaur shashankg...@ieee.org wrote: Hello All, I am trying to use popen to open an application under a block. This looks something like that: fp = popen(command, w); //doing it in write mode if(!fp){ #Handle the error } .. pclose(fp);

Re: [Discuss-gnuradio] PyBOMBS: First impressions and optional dependencies

2013-07-29 Thread Tom Rondeau
On Sun, Jul 28, 2013 at 6:40 PM, Alexandru Csete oz9...@gmail.com wrote: On Fri, Jul 26, 2013 at 4:27 PM, Tom Rondeau t...@trondeau.com wrote: On Thu, Jul 25, 2013 at 7:28 AM, Alexandru Csete oz9...@gmail.com wrote: Greetings, Yesterday, I started playing with pybombs and fixed a few recipes

Re: [Discuss-gnuradio] PyBOMBS: First impressions and optional dependencies

2013-07-29 Thread Marcus D. Leech
On 07/29/2013 11:10 AM, Tom Rondeau wrote: On Sun, Jul 28, 2013 at 6:40 PM, Alexandru Cseteoz9...@gmail.com wrote: On Fri, Jul 26, 2013 at 4:27 PM, Tom Rondeaut...@trondeau.com wrote: On Thu, Jul 25, 2013 at 7:28 AM, Alexandru Cseteoz9...@gmail.com wrote: Greetings, Yesterday, I started

Re: [Discuss-gnuradio] PyBOMBS: First impressions and optional dependencies

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 11:16 AM, Marcus D. Leech mle...@ripnet.com wrote: On 07/29/2013 11:10 AM, Tom Rondeau wrote: On Sun, Jul 28, 2013 at 6:40 PM, Alexandru Cseteoz9...@gmail.com wrote: On Fri, Jul 26, 2013 at 4:27 PM, Tom Rondeaut...@trondeau.com wrote: On Thu, Jul 25, 2013 at 7:28

Re: [Discuss-gnuradio] PyBOMBS: First impressions and optional dependencies

2013-07-29 Thread Marcus D. Leech
On 07/29/2013 11:26 AM, Tom Rondeau wrote: The debate is whether or not to include rtl-sdr and uhd as dependencies to gr-osmosdr. Tom I'll just, um, just go crawl back into my cave, and perhaps increase the caffeine dose -- Marcus Leech Principal Investigator Shirleys Bay Radio

Re: [Discuss-gnuradio] question about symbol synchronization for BPSK demodulation

2013-07-29 Thread Tom Rondeau
On Sat, Jul 27, 2013 at 10:06 AM, adream adream...@gmail.com wrote: Hi guys, I'm learning BPSK demodulation recently. I have learned how to do the carrier synchronization in the file of digital_costas_loop_cc.c. so my question is which classes do the symbol synchronization in the gnu

Re: [Discuss-gnuradio] WX GUI Scope frozen and error-msg gr_vmcircbuf_default_factory: Invalid argument

2013-07-29 Thread Tom Rondeau
On Sat, Jul 27, 2013 at 9:35 AM, Kees de Groot kees.degr...@inter.nl.net wrote: Tom, that was a good first shot: I created ~/.gnuradio/config.conf with the lines: [wxgui] style = nongl I even tried [wxgui] style = nogl not any difference Then I renamed

[Discuss-gnuradio] Help: QAM Constellation and PolyPhase Clock

2013-07-29 Thread tom sutherland
I have simple 16QAM Modulator block and am plotting the constellation with and without the a polyphase clock block . The constellation directly out of the modulator is not 16 points or even blobs but random looking points. I put it into a QAM Demod block and it demodulates it correctly. The

Re: [Discuss-gnuradio] Help: QAM Constellation and PolyPhase Clock

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 12:14 PM, tom sutherland alphatoz...@yahoo.com wrote: I have simple 16QAM Modulator block and am plotting the constellation with and without the a polyphase clock block . The constellation directly out of the modulator is not 16 points or even blobs but random looking

[Discuss-gnuradio] pybombs building 3.6.5.1 - swapping and out of virtual memory

2013-07-29 Thread M Dammer
Not sure if this is a Pybombs or Gnuradio build issue: When building version 3.6.5.1 via pybombs the system starts swapping after about 70% of the build have completed and even sometimes bails out with out of virtual memory. I can complete the build by restarting pybombs install - sometimes

Re: [Discuss-gnuradio] pybombs building 3.6.5.1 - swapping and out of virtual memory

2013-07-29 Thread Tom Rondeau
On Mon, Jul 29, 2013 at 12:40 PM, M Dammer i...@mdammer.net wrote: Not sure if this is a Pybombs or Gnuradio build issue: When building version 3.6.5.1 via pybombs the system starts swapping after about 70% of the build have completed and even sometimes bails out with out of virtual memory. I

Re: [Discuss-gnuradio] pybombs building 3.6.5.1 - swapping and out of virtual memory

2013-07-29 Thread Tim Newman
By default pybombs runs make with the -j4 option, allowing it to compile things in parallel. This typically helps the compile go quicker. I certainly wouldnt expect the gnuradio compile to have issues like this, but you could edit the gnuradio recipe to force it not to use the -j4 option by

Re: [Discuss-gnuradio] pybombs building 3.6.5.1 - swapping and out of virtual memory

2013-07-29 Thread Marcus D. Leech
On 07/29/2013 12:40 PM, M Dammer wrote: Not sure if this is a Pybombs or Gnuradio build issue: When building version 3.6.5.1 via pybombs the system starts swapping after about 70% of the build have completed and even sometimes bails out with out of virtual memory. I can complete the build by

Re: [Discuss-gnuradio] pybombs building 3.6.5.1 - swapping and out of virtual memory

2013-07-29 Thread M Dammer
Thanks for all the quick replies. I will go for changing cmake.lwt as I rather have a longer compile time than insane disk activity. On 29/07/13 17:45, Tom Rondeau wrote: On Mon, Jul 29, 2013 at 12:40 PM, M Dammer i...@mdammer.net wrote: Not sure if this is a Pybombs or Gnuradio build issue:

[Discuss-gnuradio] Portable battery for USRPs

2013-07-29 Thread aseem wadhwa
Hi! I have to do a few outdoor experiments with USRPs. Hence I'm looking for portable batteries that can be used for this purpose. After searching a bit, the best option that seems to me is to use 12V heavy duty lantern battery followed by a 12V to 110V DC to AC inverter, which can then be used

[Discuss-gnuradio] Fwd: File Transfer using GRC with File Source:Help

2013-07-29 Thread vaibhav rayanade
-- Forwarded message -- From: vaibhav rayanade vaibhav@gmail.com Date: Tue, Jul 16, 2013 at 7:28 PM Subject: File Transfer using GRC with File Source:Help To: discuss-gnuradio@gnu.org Hi everyone, 1. I am trying to transfer a file with use of File Source and File sink. I am

Re: [Discuss-gnuradio] Portable battery for USRPs

2013-07-29 Thread Ian Buckley
As indicated on the silk screening of the front panel of the USRP(s) they are powered by 6V DC @ 3A (Center pin is positive, outer negative). It's fairly easy to find battery solutions that meet this criteria directly without using the AC adapter. I have built light weight Li-Ion solutions for

Re: [Discuss-gnuradio] Portable battery for USRPs

2013-07-29 Thread Marcus D. Leech
On 07/29/2013 02:16 PM, Ian Buckley wrote: As indicated on the silk screening of the front panel of the USRP(s) they are powered by 6V DC @ 3A (Center pin is positive, outer negative). It's fairly easy to find battery solutions that meet this criteria directly without using the AC adapter. I

[Discuss-gnuradio] Acceptable sampling rate and LO frequency for USRP LFRX

2013-07-29 Thread LD Zhang
Hi, I have been using GRC and N210 to test my data acquisition scheme. My previous scheme worked well with probably standard sampling rate (10Msps) and LO at DC. When I switched to a non-standard sampling rate (1.2 Msps) and non-standard LO (1.105 MHz), all hell seems to break loose.

Re: [Discuss-gnuradio] Acceptable sampling rate and LO frequency for USRP LFRX

2013-07-29 Thread Marcus D. Leech
On 07/29/2013 02:47 PM, LD Zhang wrote: Hi, I have been using GRC and N210 to test my data acquisition scheme. My previous scheme worked well with probably standard sampling rate (10Msps) and LO at DC. When I switched to a non-standard sampling rate (1.2 Msps) and non-standard LO (1.105

Re: [Discuss-gnuradio] Acceptable sampling rate and LO frequency for USRP LFRX

2013-07-29 Thread LD Zhang
Thanks. Does the LO frequency also have to integer fraction of 100 MHz? From: discuss-gnuradio-bounces+ldz10565=gmail@gnu.org [mailto:discuss-gnuradio-bounces+ldz10565=gmail@gnu.org] On Behalf Of Marcus D. Leech Sent: Monday, July 29, 2013 11:52 AM To: discuss-gnuradio@gnu.org

[Discuss-gnuradio] QT GUI FFT and Waterfall plots not working for me on 3.7

2013-07-29 Thread Nowlan, Sean
Hi all, For whatever reason QT FFT and Waterfall plots are not displaying for me. All the controls are present and I can change scale, FFT size, color intensity (for waterfall), etc. but the display area is just a white brick. Time domain display seems to work just fine. I see this behavior

Re: [Discuss-gnuradio] Using Popen to start a pipe and pass the input

2013-07-29 Thread Shashank Gaur
Apologies, I asked on Stack Overflow but posted here as well. Thanks On Mon, Jul 29, 2013 at 5:08 PM, Tom Rondeau t...@trondeau.com wrote: On Mon, Jul 29, 2013 at 4:02 AM, Shashank Gaur shashankg...@ieee.org wrote: Hello All, I am trying to use popen to open an application under a block.

Re: [Discuss-gnuradio] new to GNUradio: AFSK and codec2 gmsk modem

2013-07-29 Thread Kristoff Bonne
Tom, (inline comments) On 29-07-13 17:01, Tom Rondeau wrote: On Mon, Jul 29, 2013 at 5:48 AM, Kristoff Bonnekrist...@skypro.be wrote: Just found this, it might help: https://github.com/dl1ksv/gr-afsk Hmmm. Looks interesting. A good start. :-) However, it seams I have another problem:

Re: [Discuss-gnuradio] GRAS build error on armv7

2013-07-29 Thread Josh Blum
On 07/29/2013 07:31 AM, Manoj Gudi wrote: That sounds good. I second that. Just ifdef the pause for the fix. For a little extra information here. The thread pools in Theron can have different yield strategies. GRAS happens to use by default the condition variable strategy. So the code in

[Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Harry Zhang
Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. [ 85%] Building CXX object gr-uhd/examples/c++/CMakeFiles/tags_demo.dir/tags_demo.cc.o Linking CXX executable tags_demo /usr/bin/ld: warning: libboost_date_time.so.1.40.0, needed by

Re: [Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Nathan West
On Mon, Jul 29, 2013 at 10:44 PM, Harry Zhang zhang...@gmail.com wrote: Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. libboost1.46 is known to cause problems with GNU Radio. Ubuntu 12.04 should have libboost1.48 available in the repos.

Re: [Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Gong Zhang
Dear Nathan, I have tried the method in the URL but it does not work. The error remains. 2013/7/30 10:58, Nathan West wrote: On Mon, Jul 29, 2013 at 10:44 PM, Harry Zhang zhang...@gmail.com wrote: Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make

Re: [Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Nathan West
On Mon, Jul 29, 2013 at 11:55 PM, Gong Zhang zhang...@gmail.com wrote: Dear Nathan, I have tried the method in the URL but it does not work. The error remains. 2013/7/30 10:58, Nathan West wrote: On Mon, Jul 29, 2013 at 10:44 PM, Harry Zhang zhang...@gmail.com wrote: Hi, I'm

[Discuss-gnuradio] Low cost SDR hardware

2013-07-29 Thread Manu T S
Hello everyone, A professor in my university wants to revive lab course on communication. He wants to introduce some experiments involving SDR. For that we need about 100 pieces of hardware( both receiver and transmitter). Buying 100 USRP is not a viable solution for us. We can go for RTL SDR but

[Discuss-gnuradio] How can I get a high sampling rate in USRP on GNURadio

2013-07-29 Thread Juhwan Noh
Hi all I want to transmit samples as fast as I can. However, my maximum sampling rate is only 5MSps because of some congestion in my CPU, and I want to get the rate at least 10MSps. I use Ettus USRP N210, and processor of my desktop is Inter Core i5-3570, and memory is 16GB RAM, and ethernet