Re: Using VSCode With gr-tutorial

2022-02-21 Thread Jeff S
It just seems like that is a current execution line.  Microsoft doesn't even 
mention a specific name in some of their documentation:  
https://code.visualstudio.com/docs/cpp/config-msvc

Mine (attached) looks pretty much the same as yours showing a breakpoint and 
current execution point.

Is the breakpoint window empty? What version fo VSC are you using?


From: Discuss-gnuradio  
on behalf of David Cherkus 
Sent: Sunday, February 20, 2022 8:48 PM
To: GNURadio Discussion List
Subject: Using VSCode With gr-tutorial

Am following the Wiki UsingVSCode page ( 
https://wiki.gnuradio.org/index.php?title=UsingVSCode ).

So, I set the breakpoint in the work function, it works as advertised, I hit 
the breakpoint.

I use F5 to continue a few times and then delete the breakpoint since I get it, 
it's looping.

The red breakpoint dot in front of my line of code goes away, turns into the 
symbol you now see at line 149:

[Inline image]

And the code acts as if there still is a breakpoint set, when I use F5 to 
continue it just stops at line 149 over and over again.

Right click on the symbol just offers to set a new breakpoint / conditional 
breakpoint / watchpoint.

I can't google what to do because I don't know the name of that symbol (hollow 
play button thingy?).

Environment is Ubuntu 18.04 with VS Code 1.64.2 (one week old, no update 
available).

Thanks for any pointers,
Dave






Re: Using VSCode With gr-tutorial

2022-02-21 Thread Jeff S
Dave,

I guess I'm tired and missed that you already mentioned your version.  That 
version (1.64.2) is the same version I use under Ubuntu 18.04, and WSL2 Ubuntu 
20.04, and I haven't noticed the issue you're seeing.

Jeff


From: Discuss-gnuradio  
on behalf of Jeff S 
Sent: Monday, February 21, 2022 6:12 AM
To: David Cherkus; GNURadio Discussion List
Subject: Re: Using VSCode With gr-tutorial

It just seems like that is a current execution line.  Microsoft doesn't even 
mention a specific name in some of their documentation:  
https://code.visualstudio.com/docs/cpp/config-msvc

Mine (attached) looks pretty much the same as yours showing a breakpoint and 
current execution point.

Is the breakpoint window empty? What version fo VSC are you using?


From: Discuss-gnuradio  
on behalf of David Cherkus 
Sent: Sunday, February 20, 2022 8:48 PM
To: GNURadio Discussion List
Subject: Using VSCode With gr-tutorial

Am following the Wiki UsingVSCode page ( 
https://wiki.gnuradio.org/index.php?title=UsingVSCode ).

So, I set the breakpoint in the work function, it works as advertised, I hit 
the breakpoint.

I use F5 to continue a few times and then delete the breakpoint since I get it, 
it's looping.

The red breakpoint dot in front of my line of code goes away, turns into the 
symbol you now see at line 149:

[Inline image]

And the code acts as if there still is a breakpoint set, when I use F5 to 
continue it just stops at line 149 over and over again.

Right click on the symbol just offers to set a new breakpoint / conditional 
breakpoint / watchpoint.

I can't google what to do because I don't know the name of that symbol (hollow 
play button thingy?).

Environment is Ubuntu 18.04 with VS Code 1.64.2 (one week old, no update 
available).

Thanks for any pointers,
Dave







USRP B210 sink 2 channels

2022-02-21 Thread hnas cable guy
Hi all,

I recently purchased a USRP B210.
I am trying to use two channel transmissions but do not get it to work.

As a simple test I created 2 FM modulated carriers.
If I configure only one channel it works as expected but when I configure 2
channels I only get the second channel on my spectrum analyzer.

Any suggestions?

Regards,
Hans
<>


Re: USRP B210 sink 2 channels

2022-02-21 Thread Marcus D. Leech

On 2022-02-21 09:35, hnas cable guy wrote:

Hi all,

I recently purchased a USRP B210.
I am trying to use two channel transmissions but do not get it to work.

As a simple test I created 2 FM modulated carriers.
If I configure only one channel it works as expected but when I 
configure 2 channels I only get the second channel on my spectrum 
analyzer.


Any suggestions?

Regards,
Hans
The LO synthesizer on the B210 is shared between the two channels, so 
only your 2nd tune request is actually "honored".


Since they're only 100khz apart, you can simply shift them in baseband 
and send to the radio in an appropriate bandwidth. Further, your WBFM block
  has an audio rate and quadrature rate that are the same. Normally, 
the output bandwidth of a WBFM block is about 150kHz or more.






Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-21 Thread George Edwards
Hi Marcin,

Thanks again for your help! I was a little busy and finally got around to
looking at the two C++ fir filter documents you sent me.

I tried to design an OOT C++ FIR lowpass filter block based on my
understanding of these documents but my code shows error (squidly). In the
OOT C++ code, I included all the #include header files shown in the
documents. Then using the first document above for the lowpass design, I
wrote the following:
vector  lpfilter;
then, I defined all the filter parameters (give them value) and tried to
use the filter method:
lpfilter = gr::filter::firdes::low_pass(gain, sampling_freq, cutoff_freq,
transition_bandwidth,
fft::window::win_type

window = fft::window::win_type::WIN_HAMMING, beta = 6.76);

This failed and showed a squidly across the line with
fft::window::win_type! I also tried leaving off the gr::filter::firdes

nothing worked and I included the fft window header file!
Please send me code examples if you have any that shows how to use these
functions/methods.

One more question: on a search on the second document, it says the
remez filter_types
are: one of "bandpass", "hilbert" or "differentiator", I would have thought
lowpass filters would be included??

Thank you!

George

On Mon, Feb 14, 2022 at 12:05 AM Marcin Puchlik 
wrote:

> Hello George,
> Yes, there is. Check this out:
> https://www.gnuradio.org/doc/doxygen/firdes_8h_source.html
> https://www.gnuradio.org/doc/doxygen/pm__remez_8h.html
> BR,
> Marcin
>
> pon., 14 lut 2022 o 00:07 George Edwards 
> napisał(a):
>
>> Hello GNURadio Community,
>>
>> I am designing a Gnuradio OOT block in C++. Are there firls and kaiser
>> filter methods (analogous to the scipy package methods that one would use
>> in Python OOT) that I can call to generate coefficients.
>>
>> Thank you!
>>
>> Regards,
>> George
>>
>


GNU Radio install on Mac Monterey

2022-02-21 Thread James Merkel
First posting to list.
I installed GNU Radio using Macports on macOS 12.1 (Monterey).
When I tried to start GnuRadio in the terminal with the command $ 
gnuradio-companion there was no response of any kind.
I restarted the mac, but still no response. The only way back to a terminal 
prompt was CTL-z.
If I do a:  port installed gnuradio

I get:

The following ports are currently installed:
  gnuradio @3.8.5.0_1+docs+grc+python39+qtgui+sdl+uhd+wavelet+zeromq (active)


Anyone have a suggestion about what to try next?
TIA

Re: GNU Radio install on Mac Monterey

2022-02-21 Thread Gregory Warnes
I pretty much gave up on running GnuRadio on MacOS and installed in a Parallels 
Ubuntu VM instead.


On Feb 21, 2022, 7:01 PM -0500, James Merkel , wrote:
> First posting to list.
> I installed GNU Radio using Macports on macOS 12.1 (Monterey).
> When I tried to start GnuRadio in the terminal with the command $ 
> gnuradio-companion there was no response of any kind.
> I restarted the mac, but still no response. The only way back to a terminal 
> prompt was CTL-z.
> If I do a:  port installed gnuradio
>
> I get:
>
> The following ports are currently installed:
>   gnuradio @3.8.5.0_1+docs+grc+python39+qtgui+sdl+uhd+wavelet+zeromq (active)
>
>
> Anyone have a suggestion about what to try next?
> TIA


Re: GNU Radio install on Mac Monterey

2022-02-21 Thread James Merkel
> I pretty much gave up on running GnuRadio on MacOS and installed in a 
> Parallels Ubuntu VM instead.

Yeah, I am considering doing that too.
Actually, I am running GNURadio on anther Mac box with the Ubuntu.OS. That 
works ok, but it’s a little slow, since it’s an older Mac (2011 iMac).
That’s why I was trying to install GNRadio on a newer (2019 iMac) to see if I 
could get better performance.
I may have to put Ubuntu on that machine also, if I want to run GNURadio.