[Discuss-gnuradio] Sdrplay rsp2pro on Windows 10

2019-01-22 Thread david vanhorn
I have seen a lot of links and tried a lot of downloads. My hw works but
sofar osmocom does not see the device. I assume that means I have not found
the real driver I need.   Does anyone have this working on Windows, and can
I get a pointer to the working driver?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] BER Example - With QT Gui Chooser for Different Modulations Issue

2019-01-22 Thread Luis Felipe Albarracin Sanchez
Hello Cinaed and all,

Thanks for the response.

Mainly I want to change the modulation directly while running the flowgraph
(either by QT GUI Chooser or other switch), without having others in
parallel for future control systems implementations.´

I don´t know if  you have any ideas or guidelines for this.

Once again thank you.

Kind Regards.

On Tue, Jan 22, 2019 at 9:22 PM Cinaed Simson 
wrote:

> On 1/22/19 1:54 PM, Luis Felipe Albarracin Sanchez wrote:
> > Hello Cinaed, Discussion List,
> >
> > Once again thank you for the response,
> >
> > Please believe me that i have gone through tutorials, and i have
> > understood that in the python Top block i could enable/disable blocks, i
> > also went through this specific one for modulations:
> >
> > https://wiki.gnuradio.org/index.php/Guided_Tutorial_PSK_Demodulation
> >
> > An you are totally correct regarding how to modulate properly,
> > nevertheless what i am trying to do is that while the flowgraph is
> > running, to switch the modulation (even if is not totally tuned) and
> > that i can see that modulation in the QT  GUI.
> >
> > That´s why, if you take a look at my flowgraph you see how I create a QT
> > Chooser so I can select the modulation.
> >
> > My main problem is that i can not get it to work, it does not switch to
> > other modulation when I switch in the QT Gui while I run the flowgraph.>
> > I would appreciate any ideas regarding this, and also i f you (Cianed)
> > could describe me a little more how a Hierarchical Block could help me
> > in this.
>
> For hierarchical Block - see the tutorials and Google.
>
> I use QT for passing variables and parameters - but I mainly use the
> command line. So I can't help you with QT.
>
> See if you can actually calculate BER for a single psk - say BPSK -
> configure by a Constellation Object.
>
> If that works, then add another Constellation Object - say for QPSK -
> configured - only for QPSK - so now you have 2 Constellation Objects in
> the flowgraph.
>
> Now run them in parallel using BER Curve.
>
> -- Cinaed
>
>
>
> >
> > Once again thank you all.
> >
> > Kind regards.
> >
> > On Tue, Jan 22, 2019 at 3:51 PM Cinaed Simson  > > wrote:
> >
> > On 1/22/19 8:51 AM, Luis Felipe Albarracin Sanchez wrote:
> > > Hello Cinaed,
> > >
> > > Thank you for the quick response,
> > >
> > > I look at your flowgraph, and i appreciate al the corrections you
> > told me.
> > >
> > > I must just say that i was guiding myself through the examples
> > that are
> > > under the folder digital when you install GNU Radio.
> >
> > Those examples presume you have already gone through the tutorials.
> >
> > >
> > > I took your model, and did some changes to mine (attached my new
> file)
> > > but i still can´t get in the QT GUI to switch between different
> > > modulations, if i start with 8-QAM  it does not switch to QPSK
> when i
> > > choose QPSK in the  QT Chooser, i would appreciate if you can give
> me
> > > any ideas regarding this.
> >
> > Right click on the Constellation Object, and there's a pull down menu
> > under Constellation Type  - select the one you want.
> >
> > If that's not what you're looking for then you have to figure out
> how to
> > do whatever it is you want to do. And it may require creating a
> > hierarchical block.
> >
> > My advice is to work through the tutorials.
> >
> > -- Cinaed
> >
> >
> > >
> > > Kind regards.
> > >
> > >
> > >
> > > On Tue, Jan 22, 2019 at 1:00 AM Cinaed Simson
> > mailto:cinaed.sim...@gmail.com>
> > > >>
> > wrote:
> > >
> > > On 1/21/19 3:47 PM, Luis Felipe Albarracin Sanchez wrote:
> > > > Hello all,
> > > >
> > > > I am exploring  the BER measurements in GNU Radio for
> different
> > > > modulations (I know Error Rate is deprecated) but i tried
> > the example
> > > > under the digital folder for BER measurement and I
> > understood all the
> > > > flowgraph.
> > > >
> > > > After this i wanted to change the modulation in the QT GUI
> so i
> > > added a
> > > > QT Gui Chooser as seen in the flowgraph below:
> > > >
> > > > Captura de pantalla de 2019-01-21 18-37-34.png
> > > >
> > > >
> > > > Attached is the flowgraph for reference.
> > > >
> > > > When i add this i expected that the Constellation would
> change
> > > > accordingly, but it does not  when i choose a different
> > constellation
> > > > with the chooser, for instance if the default value in the
> > chooser is
> > > > QPSK it shows at the beginning:
> > > >
> > > > Captura de pantalla de 2019-01-21 18-44-25.png
> > > >
> > > > But  If i switch in the same 

Re: [Discuss-gnuradio] BER Example - With QT Gui Chooser for Different Modulations Issue

2019-01-22 Thread Cinaed Simson
On 1/22/19 1:54 PM, Luis Felipe Albarracin Sanchez wrote:
> Hello Cinaed, Discussion List,
> 
> Once again thank you for the response,
> 
> Please believe me that i have gone through tutorials, and i have
> understood that in the python Top block i could enable/disable blocks, i
> also went through this specific one for modulations:
> 
> https://wiki.gnuradio.org/index.php/Guided_Tutorial_PSK_Demodulation
> 
> An you are totally correct regarding how to modulate properly, 
> nevertheless what i am trying to do is that while the flowgraph is
> running, to switch the modulation (even if is not totally tuned) and
> that i can see that modulation in the QT  GUI.
> 
> That´s why, if you take a look at my flowgraph you see how I create a QT
> Chooser so I can select the modulation.
> 
> My main problem is that i can not get it to work, it does not switch to
> other modulation when I switch in the QT Gui while I run the flowgraph.>
> I would appreciate any ideas regarding this, and also i f you (Cianed)
> could describe me a little more how a Hierarchical Block could help me
> in this.

For hierarchical Block - see the tutorials and Google.

I use QT for passing variables and parameters - but I mainly use the
command line. So I can't help you with QT.

See if you can actually calculate BER for a single psk - say BPSK -
configure by a Constellation Object.

If that works, then add another Constellation Object - say for QPSK -
configured - only for QPSK - so now you have 2 Constellation Objects in
the flowgraph.

Now run them in parallel using BER Curve.

-- Cinaed



> 
> Once again thank you all.
> 
> Kind regards.
> 
> On Tue, Jan 22, 2019 at 3:51 PM Cinaed Simson  > wrote:
> 
> On 1/22/19 8:51 AM, Luis Felipe Albarracin Sanchez wrote:
> > Hello Cinaed,
> >
> > Thank you for the quick response,
> >
> > I look at your flowgraph, and i appreciate al the corrections you
> told me.
> >
> > I must just say that i was guiding myself through the examples
> that are
> > under the folder digital when you install GNU Radio.
> 
> Those examples presume you have already gone through the tutorials.
> 
> >
> > I took your model, and did some changes to mine (attached my new file)
> > but i still can´t get in the QT GUI to switch between different
> > modulations, if i start with 8-QAM  it does not switch to QPSK when i
> > choose QPSK in the  QT Chooser, i would appreciate if you can give me
> > any ideas regarding this.
> 
> Right click on the Constellation Object, and there's a pull down menu
> under Constellation Type  - select the one you want.
> 
> If that's not what you're looking for then you have to figure out how to
> do whatever it is you want to do. And it may require creating a
> hierarchical block.
> 
> My advice is to work through the tutorials.
> 
> -- Cinaed
> 
> 
> >
> > Kind regards.
> >
> >
> >
> > On Tue, Jan 22, 2019 at 1:00 AM Cinaed Simson
> mailto:cinaed.sim...@gmail.com>
> > >>
> wrote:
> >
> >     On 1/21/19 3:47 PM, Luis Felipe Albarracin Sanchez wrote:
> >     > Hello all,
> >     >
> >     > I am exploring  the BER measurements in GNU Radio for different
> >     > modulations (I know Error Rate is deprecated) but i tried
> the example
> >     > under the digital folder for BER measurement and I
> understood all the
> >     > flowgraph.
> >     >
> >     > After this i wanted to change the modulation in the QT GUI so i
> >     added a
> >     > QT Gui Chooser as seen in the flowgraph below:
> >     >
> >     > Captura de pantalla de 2019-01-21 18-37-34.png
> >     >
> >     >
> >     > Attached is the flowgraph for reference.
> >     >
> >     > When i add this i expected that the Constellation would change
> >     > accordingly, but it does not  when i choose a different
> constellation
> >     > with the chooser, for instance if the default value in the
> chooser is
> >     > QPSK it shows at the beginning:
> >     >
> >     > Captura de pantalla de 2019-01-21 18-44-25.png
> >     >
> >     > But  If i switch in the same running time to 8-PSKn it shows:
> >
> >     Everything - I mean everything - was configured with 8PSK
> constellation
> >     data- and incorrectly - even the random number generator!
> >
> >     I'm surprise you could see anything!
> >
> >     Enclosed is the proper way to create a QPSK constellation.
> >
> >     Work through the tutorials at
> >
> >       https://wiki.gnuradio.org/index.php/Tutorials
> >
> >
> >     -- Cinaed
> >
> >
> >     >
> >     > Captura de pantalla de 2019-01-21 18-44-44.png
> >     >
> >     >
> >     > Which is not an 

Re: [Discuss-gnuradio] BER Example - With QT Gui Chooser for Different Modulations Issue

2019-01-22 Thread Luis Felipe Albarracin Sanchez
Hello Cinaed, Discussion List,

Once again thank you for the response,

Please believe me that i have gone through tutorials, and i have understood
that in the python Top block i could enable/disable blocks, i also went
through this specific one for modulations:

https://wiki.gnuradio.org/index.php/Guided_Tutorial_PSK_Demodulation

An you are totally correct regarding how to modulate properly,
nevertheless what i am trying to do is that while the flowgraph is running,
to switch the modulation (even if is not totally tuned) and that i can see
that modulation in the QT  GUI.

That´s why, if you take a look at my flowgraph you see how I create a QT
Chooser so I can select the modulation.

My main problem is that i can not get it to work, it does not switch to
other modulation when I switch in the QT Gui while I run the flowgraph.

I would appreciate any ideas regarding this, and also i f you (Cianed)
could describe me a little more how a Hierarchical Block could help me in
this.

Once again thank you all.

Kind regards.

On Tue, Jan 22, 2019 at 3:51 PM Cinaed Simson 
wrote:

> On 1/22/19 8:51 AM, Luis Felipe Albarracin Sanchez wrote:
> > Hello Cinaed,
> >
> > Thank you for the quick response,
> >
> > I look at your flowgraph, and i appreciate al the corrections you told
> me.
> >
> > I must just say that i was guiding myself through the examples that are
> > under the folder digital when you install GNU Radio.
>
> Those examples presume you have already gone through the tutorials.
>
> >
> > I took your model, and did some changes to mine (attached my new file)
> > but i still can´t get in the QT GUI to switch between different
> > modulations, if i start with 8-QAM  it does not switch to QPSK when i
> > choose QPSK in the  QT Chooser, i would appreciate if you can give me
> > any ideas regarding this.
>
> Right click on the Constellation Object, and there's a pull down menu
> under Constellation Type  - select the one you want.
>
> If that's not what you're looking for then you have to figure out how to
> do whatever it is you want to do. And it may require creating a
> hierarchical block.
>
> My advice is to work through the tutorials.
>
> -- Cinaed
>
>
> >
> > Kind regards.
> >
> >
> >
> > On Tue, Jan 22, 2019 at 1:00 AM Cinaed Simson  > > wrote:
> >
> > On 1/21/19 3:47 PM, Luis Felipe Albarracin Sanchez wrote:
> > > Hello all,
> > >
> > > I am exploring  the BER measurements in GNU Radio for different
> > > modulations (I know Error Rate is deprecated) but i tried the
> example
> > > under the digital folder for BER measurement and I understood all
> the
> > > flowgraph.
> > >
> > > After this i wanted to change the modulation in the QT GUI so i
> > added a
> > > QT Gui Chooser as seen in the flowgraph below:
> > >
> > > Captura de pantalla de 2019-01-21 18-37-34.png
> > >
> > >
> > > Attached is the flowgraph for reference.
> > >
> > > When i add this i expected that the Constellation would change
> > > accordingly, but it does not  when i choose a different
> constellation
> > > with the chooser, for instance if the default value in the chooser
> is
> > > QPSK it shows at the beginning:
> > >
> > > Captura de pantalla de 2019-01-21 18-44-25.png
> > >
> > > But  If i switch in the same running time to 8-PSKn it shows:
> >
> > Everything - I mean everything - was configured with 8PSK
> constellation
> > data- and incorrectly - even the random number generator!
> >
> > I'm surprise you could see anything!
> >
> > Enclosed is the proper way to create a QPSK constellation.
> >
> > Work through the tutorials at
> >
> >   https://wiki.gnuradio.org/index.php/Tutorials
> >
> >
> > -- Cinaed
> >
> >
> > >
> > > Captura de pantalla de 2019-01-21 18-44-44.png
> > >
> > >
> > > Which is not an 8-PSK modulation scheme.
> > >
> > > I would appreciate some help,. regarding what i am doing wrong  for
> > > choosing a Modulation through the QT GUI.
> > >
> > > Thanks in advance.
> > >
> > > Kind Regards.
> > >
> > > ___
> > > Discuss-gnuradio mailing list
> > > Discuss-gnuradio@gnu.org 
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > >
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org 
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> >
> >
> > --
> > Eng. Luis Felipe Albarracin
> > Msc. Telematics / MBA
> > PMP
> > CCNA/CCDA/CCNP/CCDP/CCIP
> > ITIL v3 Foundation
> > "Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt"
>
>

-- 
Eng. Luis Felipe Albarracin
Msc. Telematics / MBA
PMP
CCNA/CCDA/CCNP/CCDP/CCIP
ITIL v3 Foundation
"Die Grenzen meiner Sprache bedeuten 

Re: [Discuss-gnuradio] Moving average

2019-01-22 Thread Cinaed Simson
On 1/22/19 4:59 AM, david vanhorn wrote:
> Nope.
> 
> 1/Averaging evaluates to zero.
> 1/Averaging. (trailing period) does not evaluate, either in the Moving
> Average parameters, or as a separate variable.

You can't put a "." after a variable.

Use

  1/float(Averaging)

or

  1./Averaging

-- Cinaed


> 
> 
> On Mon, Jan 21, 2019 at 11:00 PM Cinaed Simson  > wrote:
> 
> 1/5 is zero using integer division in python.
> 
> Try using float division
> 
>  1/4000.
>  1/5.
> 
> -- Cinaed
> 
> 
> On 1/21/19 4:41 PM, david vanhorn wrote:
> > The docs say that I need to set Scale to the inverse of the Length.
> > Ok, I interpret that as Length = 4000 and Scale = 1/4000
> > The docs here:
> >
> 
> https://www.gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1moving__average__ff.html
> > says that Scale is a float.
> >
> > The discussion here clearly shows Scale working for values <1 and >0
> >
> https://lists.gnu.org/archive/html/discuss-gnuradio/2016-01/msg00084.html
> >
> > If I enter a scale value by hand, like 0.2, then I see 200m which is
> > what I expect.
> > If I enter a scale value as (1/5) then I see 0.
> > If I set a variable called "Scale" = (1/) and enter "Scale" in the
> Scale
> > field of the moving average, it evaluates to 0.
> >
> >
> > When I enter the values in the block, it looks like scale is an int,
> > which makes 1/4000 or indeed 1/(>1) problematic in that it always
> > evaluates to zero, which kinda breaks things.
> > When I enter 1/2 I get "0"
> >
> > When I hover over the field to enter Scale, I get Type Real.
> >
> > I have the input and output of my integrator connected to a QT GUI
> Time
> > Sink, and while the input waveform is what I expect, if I have any <1
> > Scale parameter, the output is 0.
> >
> >
> > Is something broken here, or is it me?
> > I've not had any problems using simple math in any of the other fields
> > where appropriate.
> >
> >
> > --
> > K1FZY (WA4TPW) SK  9/29/37-4/13/15
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org 
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> -- 
> K1FZY (WA4TPW) SK  9/29/37-4/13/15


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] BER Example - With QT Gui Chooser for Different Modulations Issue

2019-01-22 Thread Cinaed Simson
On 1/22/19 8:51 AM, Luis Felipe Albarracin Sanchez wrote:
> Hello Cinaed,
> 
> Thank you for the quick response,
> 
> I look at your flowgraph, and i appreciate al the corrections you told me.
> 
> I must just say that i was guiding myself through the examples that are
> under the folder digital when you install GNU Radio.

Those examples presume you have already gone through the tutorials.

> 
> I took your model, and did some changes to mine (attached my new file)
> but i still can´t get in the QT GUI to switch between different
> modulations, if i start with 8-QAM  it does not switch to QPSK when i
> choose QPSK in the  QT Chooser, i would appreciate if you can give me
> any ideas regarding this.

Right click on the Constellation Object, and there's a pull down menu
under Constellation Type  - select the one you want.

If that's not what you're looking for then you have to figure out how to
do whatever it is you want to do. And it may require creating a
hierarchical block.

My advice is to work through the tutorials.

-- Cinaed


> 
> Kind regards.
> 
> 
> 
> On Tue, Jan 22, 2019 at 1:00 AM Cinaed Simson  > wrote:
> 
> On 1/21/19 3:47 PM, Luis Felipe Albarracin Sanchez wrote:
> > Hello all,
> >
> > I am exploring  the BER measurements in GNU Radio for different
> > modulations (I know Error Rate is deprecated) but i tried the example
> > under the digital folder for BER measurement and I understood all the
> > flowgraph.
> >
> > After this i wanted to change the modulation in the QT GUI so i
> added a
> > QT Gui Chooser as seen in the flowgraph below:
> >
> > Captura de pantalla de 2019-01-21 18-37-34.png
> >
> >
> > Attached is the flowgraph for reference.
> >
> > When i add this i expected that the Constellation would change
> > accordingly, but it does not  when i choose a different constellation
> > with the chooser, for instance if the default value in the chooser is
> > QPSK it shows at the beginning:
> >
> > Captura de pantalla de 2019-01-21 18-44-25.png
> >
> > But  If i switch in the same running time to 8-PSKn it shows:
> 
> Everything - I mean everything - was configured with 8PSK constellation
> data- and incorrectly - even the random number generator!
> 
> I'm surprise you could see anything!
> 
> Enclosed is the proper way to create a QPSK constellation.
> 
> Work through the tutorials at
> 
>   https://wiki.gnuradio.org/index.php/Tutorials
> 
> 
> -- Cinaed
> 
> 
> >
> > Captura de pantalla de 2019-01-21 18-44-44.png
> >
> >
> > Which is not an 8-PSK modulation scheme.
> >
> > I would appreciate some help,. regarding what i am doing wrong  for
> > choosing a Modulation through the QT GUI.
> >
> > Thanks in advance.
> >
> > Kind Regards.
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org 
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> -- 
> Eng. Luis Felipe Albarracin
> Msc. Telematics / MBA
> PMP
> CCNA/CCDA/CCNP/CCDP/CCIP
> ITIL v3 Foundation
> "Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt"


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Moving average

2019-01-22 Thread david vanhorn
So how would you represent this expression so that it evaluates as floating
point:
As the "Delay" variable in a delay block:  Phase * (SampleRate/360)


On Tue, Jan 22, 2019 at 5:59 AM david vanhorn  wrote:

> Nope.
>
> 1/Averaging evaluates to zero.
> 1/Averaging. (trailing period) does not evaluate, either in the Moving
> Average parameters, or as a separate variable.
>
>
> On Mon, Jan 21, 2019 at 11:00 PM Cinaed Simson 
> wrote:
>
>> 1/5 is zero using integer division in python.
>>
>> Try using float division
>>
>>  1/4000.
>>  1/5.
>>
>> -- Cinaed
>>
>>
>> On 1/21/19 4:41 PM, david vanhorn wrote:
>> > The docs say that I need to set Scale to the inverse of the Length.
>> > Ok, I interpret that as Length = 4000 and Scale = 1/4000
>> > The docs here:
>> >
>> https://www.gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1moving__average__ff.html
>> > says that Scale is a float.
>> >
>> > The discussion here clearly shows Scale working for values <1 and >0
>> >
>> https://lists.gnu.org/archive/html/discuss-gnuradio/2016-01/msg00084.html
>> >
>> > If I enter a scale value by hand, like 0.2, then I see 200m which is
>> > what I expect.
>> > If I enter a scale value as (1/5) then I see 0.
>> > If I set a variable called "Scale" = (1/) and enter "Scale" in the Scale
>> > field of the moving average, it evaluates to 0.
>> >
>> >
>> > When I enter the values in the block, it looks like scale is an int,
>> > which makes 1/4000 or indeed 1/(>1) problematic in that it always
>> > evaluates to zero, which kinda breaks things.
>> > When I enter 1/2 I get "0"
>> >
>> > When I hover over the field to enter Scale, I get Type Real.
>> >
>> > I have the input and output of my integrator connected to a QT GUI Time
>> > Sink, and while the input waveform is what I expect, if I have any <1
>> > Scale parameter, the output is 0.
>> >
>> >
>> > Is something broken here, or is it me?
>> > I've not had any problems using simple math in any of the other fields
>> > where appropriate.
>> >
>> >
>> > --
>> > K1FZY (WA4TPW) SK  9/29/37-4/13/15
>> >
>> > ___
>> > Discuss-gnuradio mailing list
>> > Discuss-gnuradio@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> >
>>
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
> --
> K1FZY (WA4TPW) SK  9/29/37-4/13/15
>


-- 
K1FZY (WA4TPW) SK  9/29/37-4/13/15
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Pulse on FSK Preamble

2019-01-22 Thread Adrian Musceac
Hi Samuel,

Is there any reason why you do the quadrature demodulation before the
resampler? Usually the CPU limitations require to decimate the signal
as soon as possible to a manageable rate for the quadrature demod
block. Also, if the FSK symbols are not RC filtered and represent a
square wave, I remember reading that the M clock recovery algorithm
does not deal well with a square wave. Perhaps your resampler deals
with that?

Hope this helps,
Adrian


On 1/22/19, samuel verdon  wrote:
> hello Everybody,
>
> I am trying to recover my fsk signal with the Muller block.
> Here is my configuraiton:
> Sample rate of USRP = 240K
> bitrate of signal = 9600bps
>
> receiving the signal from the USRP,
>  apply a low pass filter -> quadrature demod ->rational resampler -> m
> sync block
>
>
> My signal contain a preamble of 100ms of 1010 (0x55). after my
> Muller block, I can see the recovering working for my signal but not
> for my Preamble. I have pulse on the preamble which sometime are visible on
> the data part as well.
> https://ibb.co/hfLt62K  
> https://ibb.co/xqRkRP7
>
>  I have tried also with Polyhpase clock sync block but this one took to
> much time to be syncronised with my preamble.
>
> Can someone help me by explaining this pulse? I porbably do not use
> correctly the sync block ( I have left the default value except for the
> omega=sps ). Can someone redirect me to a documentation to use it
> correctly?
> let me know if I have to give more information.
>
> Thank you in advance for your help
>
> --
> Samuel Verdon
>

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Pulse on FSK Preamble

2019-01-22 Thread Andy Walls
> Date: Tue, 22 Jan 2019 10:42:19 +0100
> From: samuel verdon 
>
> hello Everybody,
> 
> I am trying to recover my fsk signal with the Muller block.
> Here is my configuraiton:
> Sample rate of USRP = 240K
> bitrate of signal = 9600bps
> 
> receiving the signal from the USRP,
>  apply a low pass filter -> quadrature demod ->rational resampler ->
> m
> sync block
> 
> 
> My signal contain a preamble of 100ms of 1010 (0x55). after my
> Muller block, I can see the recovering working for my signal
> but not
> for my Preamble. I have pulse on the preamble which sometime are
> visible on
> the data part as well.
> https://ibb.co/hfLt62K  
> https://ibb.co/xqRkRP7

The M Timing Error Detector (TED) gain collapses to 0 when operating
on "clock patterns" of 1010101, so the M TED works horribly on trying
to acquire such a preamble.

>  I have tried also with Polyhpase clock sync block but this one took
> to
> much time to be syncronised with my preamble.
> 
> Can someone help me by explaining this pulse? I porbably do not use
> correctly the sync block ( I have left the default value except for
> the
> omega=sps ). Can someone redirect me to a documentation to use it
> correctly?
> let me know if I have to give more information.

Switch to using the Symbol Synchronizer Block.

You should read this brief:

https://www.gnuradio.org/wp-content/uploads/2017/12/Andy-Walls-Samples-to-Digital-Symbols.pdf

And read my recent comments in this GNURadio Issue:

https://github.com/gnuradio/gnuradio/issues/2134#issuecomment-456238039

Regards,
Andy

> Thank you in advance for your help
> 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Moving average

2019-01-22 Thread david vanhorn
Nope.

1/Averaging evaluates to zero.
1/Averaging. (trailing period) does not evaluate, either in the Moving
Average parameters, or as a separate variable.


On Mon, Jan 21, 2019 at 11:00 PM Cinaed Simson 
wrote:

> 1/5 is zero using integer division in python.
>
> Try using float division
>
>  1/4000.
>  1/5.
>
> -- Cinaed
>
>
> On 1/21/19 4:41 PM, david vanhorn wrote:
> > The docs say that I need to set Scale to the inverse of the Length.
> > Ok, I interpret that as Length = 4000 and Scale = 1/4000
> > The docs here:
> >
> https://www.gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1moving__average__ff.html
> > says that Scale is a float.
> >
> > The discussion here clearly shows Scale working for values <1 and >0
> >
> https://lists.gnu.org/archive/html/discuss-gnuradio/2016-01/msg00084.html
> >
> > If I enter a scale value by hand, like 0.2, then I see 200m which is
> > what I expect.
> > If I enter a scale value as (1/5) then I see 0.
> > If I set a variable called "Scale" = (1/) and enter "Scale" in the Scale
> > field of the moving average, it evaluates to 0.
> >
> >
> > When I enter the values in the block, it looks like scale is an int,
> > which makes 1/4000 or indeed 1/(>1) problematic in that it always
> > evaluates to zero, which kinda breaks things.
> > When I enter 1/2 I get "0"
> >
> > When I hover over the field to enter Scale, I get Type Real.
> >
> > I have the input and output of my integrator connected to a QT GUI Time
> > Sink, and while the input waveform is what I expect, if I have any <1
> > Scale parameter, the output is 0.
> >
> >
> > Is something broken here, or is it me?
> > I've not had any problems using simple math in any of the other fields
> > where appropriate.
> >
> >
> > --
> > K1FZY (WA4TPW) SK  9/29/37-4/13/15
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


-- 
K1FZY (WA4TPW) SK  9/29/37-4/13/15
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] BER Example - With QT Gui Chooser for Different Modulations Issue

2019-01-22 Thread Luis Felipe Albarracin Sanchez
Hello Cinaed,

Thank you for the quick response,

I look at your flowgraph, and i appreciate al the corrections you told me.

I must just say that i was guiding myself through the examples that are
under the folder digital when you install GNU Radio.

I took your model, and did some changes to mine (attached my new file) but
i still can´t get in the QT GUI to switch between different modulations, if
i start with 8-QAM  it does not switch to QPSK when i choose QPSK in the
QT Chooser, i would appreciate if you can give me any ideas regarding this.

Kind regards.



On Tue, Jan 22, 2019 at 1:00 AM Cinaed Simson 
wrote:

> On 1/21/19 3:47 PM, Luis Felipe Albarracin Sanchez wrote:
> > Hello all,
> >
> > I am exploring  the BER measurements in GNU Radio for different
> > modulations (I know Error Rate is deprecated) but i tried the example
> > under the digital folder for BER measurement and I understood all the
> > flowgraph.
> >
> > After this i wanted to change the modulation in the QT GUI so i added a
> > QT Gui Chooser as seen in the flowgraph below:
> >
> > Captura de pantalla de 2019-01-21 18-37-34.png
> >
> >
> > Attached is the flowgraph for reference.
> >
> > When i add this i expected that the Constellation would change
> > accordingly, but it does not  when i choose a different constellation
> > with the chooser, for instance if the default value in the chooser is
> > QPSK it shows at the beginning:
> >
> > Captura de pantalla de 2019-01-21 18-44-25.png
> >
> > But  If i switch in the same running time to 8-PSKn it shows:
>
> Everything - I mean everything - was configured with 8PSK constellation
> data- and incorrectly - even the random number generator!
>
> I'm surprise you could see anything!
>
> Enclosed is the proper way to create a QPSK constellation.
>
> Work through the tutorials at
>
>   https://wiki.gnuradio.org/index.php/Tutorials
>
>
> -- Cinaed
>
>
> >
> > Captura de pantalla de 2019-01-21 18-44-44.png
> >
> >
> > Which is not an 8-PSK modulation scheme.
> >
> > I would appreciate some help,. regarding what i am doing wrong  for
> > choosing a Modulation through the QT GUI.
> >
> > Thanks in advance.
> >
> > Kind Regards.
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


-- 
Eng. Luis Felipe Albarracin
Msc. Telematics / MBA
PMP
CCNA/CCDA/CCNP/CCDP/CCIP
ITIL v3 Foundation
"Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt"


my-ber_simulation_LFA.grc
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Different uhd behavior with two cloned computers

2019-01-22 Thread Achilleas Anastasopoulos
Problem solved!

The IT people had done an apt-get dist-upgrade
that upgraded the libraries to 13.1.
After recompiling gnuradio with the new libraries and burning new fpga
images in the X300 everything worked fine.

thanks for the help,
Achilleas
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Pulse on FSK Preamble

2019-01-22 Thread samuel verdon
hello Everybody,

I am trying to recover my fsk signal with the Muller block.
Here is my configuraiton:
Sample rate of USRP = 240K
bitrate of signal = 9600bps

receiving the signal from the USRP,
 apply a low pass filter -> quadrature demod ->rational resampler -> m
sync block


My signal contain a preamble of 100ms of 1010 (0x55). after my
Muller block, I can see the recovering working for my signal but not
for my Preamble. I have pulse on the preamble which sometime are visible on
the data part as well.
https://ibb.co/hfLt62K  
https://ibb.co/xqRkRP7

 I have tried also with Polyhpase clock sync block but this one took to
much time to be syncronised with my preamble.

Can someone help me by explaining this pulse? I porbably do not use
correctly the sync block ( I have left the default value except for the
omega=sps ). Can someone redirect me to a documentation to use it correctly?
let me know if I have to give more information.

Thank you in advance for your help

-- 
Samuel Verdon
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio