Re: [Discuss-gnuradio] Fractional delay in fractional resampler block

2014-11-17 Thread Carlos Alberto Ruiz Naranjo
I have some questions about FFT method. - I have done a test with my signal ( [Signal] -> [FFT] -> [IFFT] -> [Signal] ) and I have a problem with the spectrum (central lobe): ​ - To insert a delay I multiply the FFT by [1], right? Can I insert a delay (no variable) if I multiply the FFT by GN

Re: [Discuss-gnuradio] libserial c++ with gnuradio

2014-11-17 Thread Ayman Hendawy
​kindly, could some one figure out my problem. Thanks​ On Sun, Nov 16, 2014 at 1:30 PM, Ayman Hendawy wrote: > Hi, > > I installed libserial to access serial port by C++ from gnu radio, I > included > #include > #include > to lib/.cc file, > I can compile successfully, but when I run top_

Re: [Discuss-gnuradio] Fractional delay in fractional resampler block

2014-11-17 Thread Marcus Müller
Hi Carlos, yes, your formular looks correct, scalar multiplication aside. Regarding your problem: It's not a problem, it's a feature :) you're using window functions in your FFT, that's what's changing your signal. The FFT is but an implementation of the DFT (discrete fourier transform), which is,

Re: [Discuss-gnuradio] libserial c++ with gnuradio

2014-11-17 Thread Marcus Müller
Hi Ayman, you wrote your original question on a sunday and try to hurry things by asking but 24hrs later -- that might be a bit impatient for an open source project with volunteers trying to help you with something that has not much to do with their project, but with your usage of a completely dif

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-17 Thread madengr
If you are using an "if" statement to switch between filename and /dev/null, try putting the filename construction in the "if" statement, instead of a separate variable. That may make it evaluate every time the "if" statement is called. My example used the LO frequency as part of the filename, an

[Discuss-gnuradio] BFSK

2014-11-17 Thread Richard Bell
Would someone please recommend a book that steps through the implementation used in GNU Radio for the Frequency Mod and Quadrature Mod blocks? I've looked at the source code and I have seen posts trying to explain what sensitivity and gain are, but my lack of background knowledge is making those so

Re: [Discuss-gnuradio] libserial c++ with gnuradio

2014-11-17 Thread Seth Hitefield
Ayman, Are you successfully compiling your block that includes the serial library? I recently had a similar problem where my block compiles but has a swig runtime error. It is most likely that your install cannot find the library to link to at runtime. Try modifying LD_LIBRARY_PATH to include

Re: [Discuss-gnuradio] Packet Header Generator

2014-11-17 Thread Martin Braun
On 11/14/2014 10:49 PM, Tom Rondeau wrote: > I assume that an appropriate "formatter object" can > be submitted to this block to instruct it to build an > arbitrary header, but I'm having difficulty finding > any documentation or example of using a formatter object. > All I foun

Re: [Discuss-gnuradio] BFSK

2014-11-17 Thread Dan CaJacob
Hi Richard, I suffered through understanding the quadrature mod/demod block settings a while back. I provide some links to that information below. I provide a formula for the settings for both digital and audio applications. As you can see (from the reading), the settings can be derived from sa

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread Lefteris Kampianakis
Hello, FYI I am having problems even with a simpler configuration like this: USRP_source_channel1 --> USRP_sink_channel1 USRP_source_channel2 --> USRP_sink_channel2 Does anyone face the same issue? It is really frustrating because 1/3 executions are wasted and this causes problems with later de

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread Marcus D. Leech
On 11/17/2014 05:15 PM, Lefteris Kampianakis wrote: Hello, FYI I am having problems even with a simpler configuration like this: USRP_source_channel1 --> USRP_sink_channel1 USRP_source_channel2 --> USRP_sink_channel2 Does anyone face the same issue? It is really frustrating because 1/3 execu

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread Ben Hilburn
Hi Lefteris - We recently added that warning. We think we got it right, but it's possible something is wrong with the logic that makes it fire. Can you share your GRC flowgraph? Cheers, Ben On Mon, Nov 17, 2014 at 2:28 PM, Marcus D. Leech wrote: > On 11/17/2014 05:15 PM, Lefteris Kampianakis

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread George Sklivanitis
Hi all, I think what Lefteris tries to implement is a 2x2 loopback with a USRP-B210. At least this is what I can see from the flowgraph attached in the first email. Is that possible with B210? Best, George On Mon, Nov 17, 2014 at 5:47 PM, Ben Hilburn wrote: > Hi Lefteris - > > We recently add

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread Marcus D. Leech
On 11/17/2014 08:46 PM, George Sklivanitis wrote: Hi all, I think what Lefteris tries to implement is a 2x2 loopback with a USRP-B210. At least this is what I can see from the flowgraph attached in the first email. Is that possible with B210? Best, George Yes, that should easily be possib

Re: [Discuss-gnuradio] RuntimeError: b200: 2 RX 1 TX and 1 RX 2 TX configurations not possible

2014-11-17 Thread Julian Arnold
Hi Lefteris thank you for bringing that up! There has indeed been a bug in UHD caused by parallel access to rx/tx methods by gnuradio. Please find a patch attached that will fix the issue for the time being. This code is not yet finalized but should solve your problem. Cheers, Julian On Mon, N