[Discuss-gnuradio] Finding error: thread[thread-per-block[357]: ]: std::bad_alloc

2014-03-26 Thread Tommy Tracy II
Dear Gnuradio Community, I ran my GNURADIO program and got the following error message: thread[thread-per-block[357]: ]: std::bad_alloc This looks like a memory allocation problem with the scheduler. Has anyone seen this before? What would cause this? Sincerely, Tommy J

Re: [Discuss-gnuradio] How to capture video frame over the air

2014-03-26 Thread Ruecan
Thank you Ron for this explanation. -- View this message in context: http://gnuradio.4.n7.nabble.com/How-to-capture-video-frame-over-the-air-tp47242p47252.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing li

Re: [Discuss-gnuradio] Imcompatibility between GRC version and the USRP FW

2014-03-26 Thread Ed Criscuolo
On 3/26/14 8:08 PM, Gayathri Ramasubramanian wrote: ... Though I have burned the latest images of usrp_n210_fw.bin and usrp_n210_fpga_r4.bin into usrp ,still it is not working. I get the foll error message: Error:Runtime Error Please update the firmware and fpga images for your device Expected

Re: [Discuss-gnuradio] PSK File transfer

2014-03-26 Thread Stephen Andrew
I did some more searching on the google machine and found: http://lists.gnu.org/archive/html/discuss-gnuradio/2012-04/msg00500.html It's like my setup, minus the throttle and the pack K bits, with the addition of packets on either side of the modulator/demodulator. Ran the new setup, and it gives

Re: [Discuss-gnuradio] Imcompatibility between GRC version and the USRP FW

2014-03-26 Thread Michael Dickens
Hi Gayathri - I'll email you off-list with what to try to get the N210 working again. - MLD On Mar 26, 2014, at 8:08 PM, Gayathri Ramasubramanian wrote: > Though I have burned the latest images of usrp_n210_fw.bin and > usrp_n210_fpga_r4.bin into usrp ,still it is not working. I get the foll >

[Discuss-gnuradio] Imcompatibility between GRC version and the USRP FW

2014-03-26 Thread Gayathri Ramasubramanian
HI I am presently trying to work with USRP N210 with a SBX daughter board connected to a Host laptop with Ubuntu 12.10 installed.This laptop had a version of GRC and UHD installed when I got it. But even though I was able to run some uhd example programs like tx_waveform and uhd_siggen_gui.py iw a

Re: [Discuss-gnuradio] How to capture video frame over the air

2014-03-26 Thread Ron Economos
Your capture frequency is way off. WUSA-TV transmits on RF channel 9, which is 186 to 192 MHz. You want to capture the center of the channel, so 189 MHz is the correct number. http://en.wikipedia.org/wiki/North_American_television_frequencies The 5 MHz sample rate is too low. The signal is 6 MHz

Re: [Discuss-gnuradio] Gnuradio binaries dependencies / conflict - build uhd_003.007.000-1-stable_Ubuntu-12.04-x86_64 gnuradio_3.7.2.1-77_Ubuntu-12.04-x86_64

2014-03-26 Thread Guillaume Rembert
> > On 03/26/2014 12:11 AM, Guillaume Rembert wrote: > > Hi gnuradio guys, > > > > I just tried to install gnuradio binaries from Ettus stable build: > > http://files.ettus.com/binaries/gnuradio/gnuradio-stable_2014-02-25/ > > > > My OS is Ubuntu 12.04.4 LTS / x86_64. > > > > In order to be able us

[Discuss-gnuradio] ctrlport-monitor: radio.get threw exception (math domain error).

2014-03-26 Thread Luke Berndt
I get the following error when trying to the run gr-perf-monitorx against a flow graph that has an RTL_SDR radio as the source. I recompiled both rtl_sdr and gr_osmosdr after enabling performance counters in gnuradio. The odd thing is that it works fine when I do not have an RTL_SDR radio attached

Re: [Discuss-gnuradio] PSK File transfer

2014-03-26 Thread Stephen Andrew
Sorry that was unclear. If I put in a file sink before the modulator, and call that file tx, and the file on the output of the demodulator rx, tx looks fine, but rx still looks like gunk. Also, if I set the original file source to not repeat, my file sinks produce no data. Obviously, if one is sen

Re: [Discuss-gnuradio] Help with video link

2014-03-26 Thread Alexandru Csete
Hi Alexander, The de-facto standard way for sending video over the air (assuming you can't use wifi-like links) is to encapsulate all video and audio into a single, constant bitrate MPEG transport stream (aka. MPEG-TS). It's a packetized format designed specifically for transmission over lossy cha

[Discuss-gnuradio] How to capture video frame over the air

2014-03-26 Thread Ruecan
Hello GR, I tried to capture some TV broadcast video frames using rx_samples_to_file --args "addr=myusrp" --file myfile.dat --time 120 --freq 450.75e6 --rate 5e6 --gain 30 Then I tried to play back that file using : tx_samples_from_file --args "addr=myusrp" --file=myfile --type short --rate 6.2

Re: [Discuss-gnuradio] Performance drop with upgrade to 3.7

2014-03-26 Thread Luke Berndt
Thanks Guys! I am rebuilding with Debug turned on and I also enabled Control Ports in the compile. Hopefully this should help highlight the major CPU hogs. Marcus - build-gnuradio is an awesome script. Thank you so much for the time you put into keeping it current. It is the only reliable way I ha

Re: [Discuss-gnuradio] Performance drop with upgrade to 3.7

2014-03-26 Thread Marcus Leech
It was on my list to change the build-types to "debug" (to provide symbols).  I can't remember whether I did that or not.   Other than disk space, there's no down-side that I can see     on Mar 26, 2014, West, Nathan wrote: On Tue, Mar 25, 2014 at 2:27 PM, Luke Berndt wrote

[Discuss-gnuradio] Help with video link

2014-03-26 Thread Alexander Buckley
Hello all, I am completely stumped with trying to stream video using gnu radio (GRC) and the USRP. I have been at it for an absurdly long time without success. I could really use some help. (With Unbuntu and the latest UHD/GNU radio) There has got to be someone who has done this, but so far googl

Re: [Discuss-gnuradio] Performance drop with upgrade to 3.7

2014-03-26 Thread West, Nathan
On Tue, Mar 25, 2014 at 2:27 PM, Luke Berndt wrote: > Thanks - I am running an quad-core Intel I5 laptop. It is running Ubuntu > 13.10. I also have it running on a VM on my 8 Core I7 Macbook. > > Do you have any pointers or links on using oprofile with gnuradio? I found > some material on using GR

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Azza Ben Mosbah
Ah, ok thank you. Azza -- View this message in context: http://gnuradio.4.n7.nabble.com/How-to-calculate-SNR-tp47193p47237.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org htt

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Tom Rondeau
On Wed, Mar 26, 2014 at 8:46 AM, Azza Ben Mosbah wrote: > Ok. Thank you. I will see that. > A one more question please: the SNR, is it in dB? and why the output for the > SNR block is complex? > > Azza Azza, Please try to be more specific with your questions. Notice that there are two blocks tha

Re: [Discuss-gnuradio] Pybombs and FAT32

2014-03-26 Thread Tom Rondeau
On Sun, Mar 23, 2014 at 4:31 AM, Mike Willis wrote: > I am a bit short of disk space on my laptop, which is dual boot with a > 128Gbyte SSD with only 10GBytes devoted exclusively to Linux. Pybombs > installation of Gnuradio has now grown to use over 5 GBytes so I though why > not put all the sourc

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Azza, On 26.03.2014 16:46, Azza Ben Mosbah wrote: > Ok. Thank you. I will see that. A one more question please: the > SNR, is it in dB? and why the output for the SNR block is complex? This is a pass-through block; it just forwards the complex sampl

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Azza Ben Mosbah
Ok. Thank you. I will see that. A one more question please: the SNR, is it in dB? and why the output for the SNR block is complex? Azza -- View this message in context: http://gnuradio.4.n7.nabble.com/How-to-calculate-SNR-tp47193p47233.html Sent from the GnuRadio mailing list archive at Nabble

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ah, the picture of your flowgraph took some time to load, so I thought it was broken. First of all: to get truly comparable numbers, you should set the IIR alpha to the same value for the probe and the RMS blocks. Then: What you're doing with the RMS

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Azza Ben Mosbah
As you can see from the flowgraph, I add noise to the signal to simulate a channel. And I calculate the SNR at the receiver. Since the noise is known, I can calculate my SNR. But, comparing to the output of the "MPSK SNR Estimator Probe", it is not the same. Azza -- View this message in context

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Azza, how do you know RMS(noise)? Greetings, Marcus On 26.03.2014 16:14, Azza Ben Mosbah wrote: > I calculate the SNR using the formula > SNR=20*log10[RMS(signal)/RMS(noise)]. You find attached my flow > graph.

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Azza Ben Mosbah
I calculate the SNR using the formula SNR=20*log10[RMS(signal)/RMS(noise)]. You find attached my flow graph. Azza -- View this message in context: http://gnuradio.4.n7.nabble.com/How-to-calculate-SNR-tp47193p47229.html Sent from the

Re: [Discuss-gnuradio] Mixing two signals for Radar application.

2014-03-26 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Dimitris, in theory, mixing should be exactly what you're doing - the multiplication of a signal with another one. Without you posting what your flow graph looks like or what the signal you get out of it actually is, helping you might be a bit har

Re: [Discuss-gnuradio] 802.15.4 transmitted signal structure

2014-03-26 Thread Bastian Bloessl
> Bastian Bloessl-2 wrote >> The wideband signal is the packet. Actually, it should be terminated with >> a tx_eob tag. Do you see any ‘U’s on you console? AFAIK, if the packet >> does not end with an tx_eob tag you might see the oscillator as narrow >> band signal. > > Yes I see 'U's on the cons

[Discuss-gnuradio] Mixing two signals for Radar application.

2014-03-26 Thread Dimitris Siafarikas
Hi list, I am in the process of building an FMCW radar. For this to work, I have to mix two signals. I tried to do it with the "multiply" block but no luck. I tried then to see how exactly this block works. It seems that it does not behave As it should be. Referring to theory, I should see the sum

[Discuss-gnuradio] CSI in gr-ieee80211

2014-03-26 Thread alex
Dear Bloessl and gnuradio list, I am currently working on gr-ieee80211. Now I want to use the long preamble to estimate the CSI. However, after I apply fft to the long preamble, I found the power for each channel is not the same. I took an average over lots of packets. The power near the middl

Re: [Discuss-gnuradio] CSI in gr-ieee80211

2014-03-26 Thread Bastian Bloessl
On 26 Mar 2014, at 15:05, alex wrote: > > I am currently working on gr-ieee80211. Now I want to use the long preamble > to estimate the CSI. However, after I apply fft to the long preamble, I found > the power for each channel is not the same. I took an average over lots of > packets. The powe

Re: [Discuss-gnuradio] 802.15.4 transmitted signal structure

2014-03-26 Thread Ruecan
Hi Bastian, Bastian Bloessl-2 wrote > The wideband signal is the packet. Actually, it should be terminated with > a tx_eob tag. Do you see any ‘U’s on you console? AFAIK, if the packet > does not end with an tx_eob tag you might see the oscillator as narrow > band signal. Yes I see 'U's on the c

Re: [Discuss-gnuradio] Received power measurement

2014-03-26 Thread Marcus D. Leech
On 03/26/2014 07:04 AM, Medhat Hamdy wrote: Hi all, I need to know if there is any method to measure the received signal power using USRP N210. I am using gr_probe_avg_mag_sqrd_x_0 to measure the signal strength, however, the results are not accurate. Thanks _

Re: [Discuss-gnuradio] Is a bug about stream_mux block?

2014-03-26 Thread Tiankun Hu
Hi Martin, I haven’t found your committed in master branch yet, could you share your diff? 于 2014年03月26日 04:37, Martin Braun 写道: On 03/25/2014 06:15 PM, Martin Braun wrote: On 03/25/2014 03:59 PM, Tiankun Hu wrote: Hi Experts, As follow is my program to test stream_mux block. I found when da

Re: [Discuss-gnuradio] Received power measurement

2014-03-26 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Vanush, good question, actually. The point here (that I try to highlight whenever a question about received signal strength / RSSI / RX power requirement comes up) is that received signal strength is so much depending on what you are trying to meas

Re: [Discuss-gnuradio] Received power measurement

2014-03-26 Thread Vanush Vaswani
Is there any reason that this isn't done at a few frequencies during manufacturing and provided in the datasheet? I've noticed this with a few SDR's. Surely, it would provide a ballpark figure for those who could not afford expensive test equipment. On Wed, Mar 26, 2014 at 11:21 PM, Marcus D. Lee

[Discuss-gnuradio] problem with packet decoder for gmsk

2014-03-26 Thread Ank
Hello all, I'm working on gmsk transmitter and receiver past 6 months , the problem that I'm facing is in the packet decoder. I tried with wav file and signal source it worked good. my block is of this type Random_source=>Packet_encoder=>gmsk_modulator=>rational_resamlper_1=>uhd_sink

[Discuss-gnuradio] Received power measurement

2014-03-26 Thread Medhat Hamdy
Hi all,     I need to know if there is any method to measure the received signal power using USRP N210. I am using gr_probe_avg_mag_sqrd_x_0 to measure the signal strength, however, the results are not accurate. Thanks___ Discuss-gnuradio mailing lis

Re: [Discuss-gnuradio] flowgraph reading keystrokes during execution

2014-03-26 Thread Activecat
Thank you. On Wed, Mar 26, 2014 at 5:54 PM, Martin Braun wrote: > On 03/26/2014 04:26 AM, Activecat wrote: >> Dear Sir, >> >> I am thinking of building simple chat application using gnuradio. >> PC#1 connecting to USRP#1, will send text message to PC#2 via USRP#2. >> The question is, how to get t

Re: [Discuss-gnuradio] std::cin inside work()

2014-03-26 Thread Activecat
Thank you very much. On Wed, Mar 26, 2014 at 5:43 PM, Martin Braun wrote: > On 03/26/2014 09:17 AM, Activecat wrote:> Dear sir, >> Why below custom block doesn't work..? > > Activecat, > > first, don't ask open questions like this. How do you know it's not > working? What did you try? Is there an

Re: [Discuss-gnuradio] How to calculate SNR?

2014-03-26 Thread Martin Braun
On 03/25/2014 11:04 PM, zielalaoui wrote: > Hi azza and Martin, > I have the same problem, that is my flowgraph. > > The SNR values have not sens. For example, with 0.065 transmitting power i > had values between 0.06 and -0.012. may be the

Re: [Discuss-gnuradio] Gnuradio binaries dependencies / conflict - build uhd_003.007.000-1-stable_Ubuntu-12.04-x86_64 gnuradio_3.7.2.1-77_Ubuntu-12.04-x86_64

2014-03-26 Thread Martin Braun
On 03/26/2014 12:11 AM, Guillaume Rembert wrote: > Hi gnuradio guys, > > I just tried to install gnuradio binaries from Ettus stable build: > http://files.ettus.com/binaries/gnuradio/gnuradio-stable_2014-02-25/ > > My OS is Ubuntu 12.04.4 LTS / x86_64. > > In order to be able using a printer dri

Re: [Discuss-gnuradio] flowgraph reading keystrokes during execution

2014-03-26 Thread Martin Braun
On 03/26/2014 04:26 AM, Activecat wrote: > Dear Sir, > > I am thinking of building simple chat application using gnuradio. > PC#1 connecting to USRP#1, will send text message to PC#2 via USRP#2. > The question is, how to get the user keystrokes from the flowgraph at PC#1 ? > > I am building the f

Re: [Discuss-gnuradio] Command terminated by signal 11

2014-03-26 Thread Martin Braun
On 03/26/2014 06:46 AM, Sumedha Goyal wrote: > I am running my code in Python using Gnuradio and USRPs. The program is > supposed to work continuously till an interrupt is given. The code works > well for 10-15 iterations and then terminates stating "command > terminated by signal 11". What could b

Re: [Discuss-gnuradio] std::cin inside work()

2014-03-26 Thread Martin Braun
On 03/26/2014 09:17 AM, Activecat wrote:> Dear sir, > Why below custom block doesn't work..? Activecat, first, don't ask open questions like this. How do you know it's not working? What did you try? Is there an error message? Always provide all of these infos when asking questions. You will get m

Re: [Discuss-gnuradio] PSK File transfer

2014-03-26 Thread Martin Braun
On 03/26/2014 08:32 AM, Stephen Andrew wrote: > Hello, > > I'm trying to do a simple file transfer over PSK, but the text file I > get on the output is garbled. I've got: > > file source -> throttle -> psk(4) mod -> psk(4) demod -> pack K (8) bits > -> file sink > > If I put in a file sink befor

[Discuss-gnuradio] std::cin inside work()

2014-03-26 Thread Activecat
Dear sir, Why below custom block doesn't work..? int console1_impl::work( int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { int *out = (int *) output_items[0]; int x; std::

[Discuss-gnuradio] PSK File transfer

2014-03-26 Thread Stephen Andrew
Hello, I'm trying to do a simple file transfer over PSK, but the text file I get on the output is garbled. I've got: file source -> throttle -> psk(4) mod -> psk(4) demod -> pack K (8) bits -> file sink If I put in a file sink before the modulator, I see the message just fine. What am I missing