Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Usman Haider
Hello Marcus, I am surprised the following command ran successfully. $ pybombs -vv recipes add gr-recipes git+ https://github.com/gnuradio/gr-recipes.git -- Usman On Mon, Jan 16, 2017 at 5:10 PM, Marcus Müller wrote: > Hm, interesting. Could you run your pybombs

Re: [Discuss-gnuradio] filesink to multiple files without dropping data

2017-01-16 Thread mleech
If you want strict control over the file-size, then you'll likely need to write your own block. It should perhaps NOT come as a surprise that there aren't examples that cover every possible use case, since the field-of-endeavor is essentially-infinite, and there's only a finite number of

Re: [Discuss-gnuradio] Block "Max" GNU Radio

2017-01-16 Thread Dan CaJacob
Make a new block based on the original? On Mon, Jan 16, 2017 at 2:51 PM adrianapa wrote: > Hi all, > > I want to modify the block Max: instead calculate a maximum, I want to > calculate the maximum and two bins (two points) on each side and do a > average with this three

Re: [Discuss-gnuradio] Block "Max" GNU Radio

2017-01-16 Thread Marcus Müller
Hi Pablo, yes, you could do that "upstream", but since the functionality is fundamentally different from what Max currently does, I think it'd be better to simply implement it in your own Out-Of-Tree module. If your let's call it "max_and_environment" block works well and you can also write unit

Re: [Discuss-gnuradio] filesink to multiple files without dropping data

2017-01-16 Thread mleech
There are a whack of approaches to doing this. The filename parameter of the filesink block is runtime changeable. You could have an external process using controlport or xmlrpc to change this setting (from a variable) at regular intervals. The existing file will be closed, and a new one

Re: [Discuss-gnuradio] Collecting raw iq samples from 2.4GHz to 2.5GHz entire band

2017-01-16 Thread Marcus Müller
Hi Mallesham, please make sure you keep the list, discuss-gnuradio@gnu.org, in CC when replying! I think the best way to help you here is to point you at the official guided GNU Radio tutorials, http://tutorials.gnuradio.org , which do explain the handling of messages and how you can instead

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-16 Thread Julian Arnold
Hey Mallesham, I don't have the time right now to check your code but have you also adjusted block [1] accordingly like I mentioned in my last mail? It now needs to operate on complex float data. [1] http://gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1bin__statistics__f.html On 01/14/2017

[Discuss-gnuradio] Block "Max" GNU Radio

2017-01-16 Thread adrianapa
Hi all, I want to modify the block Max: instead calculate a maximum, I want to calculate the maximum and two bins (two points) on each side and do a average with this three values. Should I modify this code?[1] Any help is welcome. Best regards, Pablo

Re: [Discuss-gnuradio] Collecting raw iq samples from 2.4GHz to 2.5GHz entire band

2017-01-16 Thread Marcus Müller
Hi Mallesham, could you explain what of Julian's answer you did not understand? I would have pretty much given you exactly the same answer. Best regards, Marcus On 01/16/2017 06:51 PM, Mallesham Dasari wrote: > Hi all, > > I am scanning the wifi entire band to collect the raw IQ samples >

Re: [Discuss-gnuradio] Collecting raw iq samples from 2.4GHz to 2.5GHz entire band

2017-01-16 Thread Mallesham Dasari
Hi all, I am scanning the wifi entire band to collect the raw IQ samples instead of having fft as in usrp_spectrum_sense.py. Can anyone throw some light on it? As of now, I am trying with approach given by Julian as below: *You might want to take a look at [1] which is the

[Discuss-gnuradio] Fwd: usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Soumaya el barrak
-- Forwarded message -- From: Soumaya el barrak Date: 2017-01-16 12:48 GMT+01:00 Subject: Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200 To: Marcus Müller Dear Marcus, Thank you again for your

[Discuss-gnuradio] Fwd: usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Soumaya el barrak
-- Forwarded message -- From: Soumaya el barrak Date: 2017-01-16 10:32 GMT+01:00 Subject: Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200 To: Marcus Müller Hi Marcus, Thank you so much for your

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Marcus Müller
Hm, interesting. Could you run your pybombs command with "-vv"? Best regards, Marcus On 01/16/2017 12:55 PM, Usman Haider wrote: > Hello Nicolas, > > Thanks for your reply. I have sufficient disk space, more than 400 > GB, so that is not an issue. I do not have any .gitconfig file in my >

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Usman Haider
Hello Nicolas, Thanks for your reply. I have sufficient disk space, more than 400 GB, so that is not an issue. I do not have any .gitconfig file in my home directory. I can download the recipes manually using the command you mentioned. git clone https://github.com/gnuradio/gr-recipes.git

Re: [Discuss-gnuradio] input of Signal Source blocks

2017-01-16 Thread Marcus Müller
No, you can't convert a python flow graph to a GRC flow graph – Python is simply able to do things like "if (foo) then connect these two blocks", which you can't represent in GRC. Best regards, Marcus On 01/16/2017 11:51 AM, Marc Pàmies Massip wrote: > Hi, > > Sorry for the late response, I

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Marcus Müller
Hi Soumaya, could you please keep the mailing list in the loop? Well, on USB2, the maximum sampling rate is, if I remember correctly, somewhere between 8 MS/s and 10 MS/s. Maybe the raspberry Pi isn't the optimal platform for broadband signal observation... $((2**16)) gets evaluated by your

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Marcus Müller
Hi Soumaya, while tuning, there will simply be transients, mostly of oscillator energy leaking into the receiver. You cannot use the data that you get while tuning. You might want to define "strange power values"; 2.4 GHz is an ISM band, so a lot of traffic is to be expected there, and that

Re: [Discuss-gnuradio] input of Signal Source blocks

2017-01-16 Thread Marc Pàmies Massip
Hi, Sorry for the late response, I was out during the weekend. Thank you both for your advice. I have take a look to the file osmocom_spectrum_sense and I think it can be very useful to me, but I was wondering if it is possible to see the flowgraph somehow (there is no .grc file). Is it

Re: [Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Nicolas Cuervo
Hello Usman, uhm, this is odd. So far I can see the command is correct. Although error 128 means that git did not exit cleanly, and I just run it and it ran fine. Just some guesses for now: 1. Do you have enough disk space? the recipes do not require a lot of disk space, though, but not enough

[Discuss-gnuradio] PyBombs installation issue

2017-01-16 Thread Usman Haider
I am following this guide to get started with RFNoC. I am using Ubuntu 14.04 and I ran following commands $ sudo apt-get install git $ sudo apt-get install python-setuptools python-dev build-essential $ sudo easy_install pip $ sudo pip install git+https://github.com/gnuradio/pybombs.git When I