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

2022-02-22 Thread George Edwards
Hi Marcin and Vasil, Thank you guys very much! Marcin: I did as you suggested and left out win_type and beta. Vasil: Based on the conversation exchanges between you Marcin, I followed your suggestion to link in the gnuradio-filter library - in lib/CMakeLists.txt in target_link_libraries() by addi

Re: GNU Radio install on Mac Monterey

2022-02-22 Thread James Merkel
Ok, long story short, I was able to install and run gnuradio on macOS. In MacPorts, I uninstalled gnuradio and all dependencies, then reinstalled gnuradio. When I ran gnuradio-companion in terminal, I got an error messages similar to those described in: https://github.com/gnuradio/gnuradio/issue

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Geroge, I posted the working code a few messages ago. Try to check this out. BTW as far as I can see those two arguments are optional (window type and beta). Try to run your code without them and check if it works. wt., 22 lut 2022 o 19:25 George Edwards napisał(a): > Hello Vasil and Marcin, >

Job Opportunity - RF Engineer in San Antonio, TX

2022-02-22 Thread Michael Morrison
Hi everyone, Just wanted to advertise that my team is hiring an RF Engineer in San Antonio, TX [1]. We do vulnerability assessments and adversarial red-teaming for US Government customers, so an active clearance is required. If interested, give me a shout or apply using the link below. See you

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

2022-02-22 Thread George Edwards
Hello Vasil and Marcin, Thanks very much for your help. I have all the relevant #include header files and invoke the low_pass filter as follows: lpfilter = gr::filter::firdes::low_pass(gain, sampling_freq, cutoff_freq, transition_bandwidth, fft::window::win_type::WIN_HAMMING, beta); Observations

Re: Adding external libs to an OOT block

2022-02-22 Thread Ryan Volz
Hi Dave, On 2/22/22 11:34 AM, David Cherkus wrote: So, I found https://stackoverflow.com/questions/48562304/gnuradio-c-oot-extrernal-so-library which is a very good answer to how to get your OOT block to link t

Re: Sharing GR block developed on Linux with Windows 10 radioconda environment?

2022-02-22 Thread Ryan Volz
Hi Dave, On 2/22/22 12:10 PM, David Cherkus wrote: So, I am trying to write some GR blocks on Linux and if they work I want to share them with a friend who is happily running GRC flowgraphs using the radioconda install on Windows 10.  I don't have any Windows development tools.  I don't know,

Re: Using VSCode With gr-tutorial

2022-02-22 Thread Jeff S
Dave, I came across a situation that you described. I had a breakpoint, and I disabled it after hitting it. Sure enough, it brroke there again. It seems to be hitting it from another thread. So, check your call stack when you come across that situation and it may be that it is coming from a

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
That's strange, in this order it doesn't work for me. Thank you anyways :) Marcin wt., 22 lut 2022 o 14:47 Vasil Velichkov napisał(a): > On 22/02/2022 15.39, Marcin Puchlik wrote: > > So while running: *g++ -gnuradio-filter main.cpp* I get: > > You are missing an l between - and gnuradio > > >

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

2022-02-22 Thread Vasil Velichkov
On 22/02/2022 15.39, Marcin Puchlik wrote: > So while running: *g++ -gnuradio-filter main.cpp* I get: You are missing an l between - and gnuradio > */bin/ld: /tmp/ccChkcfC.o: in function `main':main.cpp:(.text+0x8d): > undefined reference to `gr::filter::firdes::low_pass(double, double, > doubl

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

2022-02-22 Thread Vasil Velichkov
On 22/02/2022 15.31, Marcin Puchlik wrote: > You are right, it helped thank you. You are welcome. > One more question, do you know why the command: *g++ main.cpp > -lgnuradio-filter *works correctly but in different order: *g++ > -lgnuradio-filter main.cpp* crashes? No idea. Give me the full out

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
So while running: *g++ -gnuradio-filter main.cpp* I get: */bin/ld: /tmp/ccChkcfC.o: in function `main':main.cpp:(.text+0x8d): undefined reference to `gr::filter::firdes::low_pass(double, double, double, double, gr::fft::window::win_type, double)'collect2: error: ld returned 1 exit status* mai

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Hi Vasil, You are right, it helped thank you. One more question, do you know why the command: *g++ main.cpp -lgnuradio-filter *works correctly but in different order: *g++ -lgnuradio-filter main.cpp* crashes? wt., 22 lut 2022 o 14:19 Vasil Velichkov napisał(a): > Hi Marcin, > > On 22/02/2022 14.

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

2022-02-22 Thread Vasil Velichkov
Hi Marcin, On 22/02/2022 14.32, Marcin Puchlik wrote: > But I am not creating the OOT module, I want to get filter taps using > *low_pass()* function in simple C++ program (Hello World). It does not really matter what you are building, if you want to use this function then you need to link this

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Hi Vasil, But I am not creating the OOT module, I want to get filter taps using *low_pass()* function in simple C++ program (Hello World). I just want to link gnuradio library and use its function in custom C++ program, here is the code of main.cpp: #include #include #include #include using

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

2022-02-22 Thread Vasil Velichkov
Hi Marcin, On 22/02/2022 13.09, Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > I also tried to use *low_pass() *function in my C++ program but with no > luck. My linker shouts that there is undefined reference to this function > but headers where recogniz

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

2022-02-22 Thread Vasil Velichkov
Hi George, On 21/02/2022 18.31, George Edwards wrote: > lpfilter = gr::filter::firdes::low_pass(gain, sampling_freq, cutoff_freq, > transition_bandwidth, > fft::window::win_type > window > = ff

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

2022-02-22 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Hi George, I also tried to use *low_pass() *function in my C++ program but with no luck. My linker shouts that there is undefined reference to this function but headers where recognized. How did you install the GNU Radio? Was it installation from PPA or building from source? Marcin pon., 21 lut 20

Improving GRC usability: How do you deal with changes in .grc file behaviour caused by opening it on newer/older GRC version?

2022-02-22 Thread Bernard Tyers - EI8FDB
Hi there, I contribute to usability improvements to GNU Radio, and I'm looking for input from the community. Has this scenario ever happened to you - You open a .grc file with an older (or newer) version of GRC than the file was created with. When you try to open it the .grc file behaves dif

Re: USRP B210 sink 2 channels

2022-02-22 Thread hnas cable guy
" The LO synthesizer on the B210 is shared between the two channels, so only your 2nd tune request is actually "honored". Thanks for this answer, so both are always tuned to the same frequency. I should have bought 2 B200 as it also seems that the bandwidth is limited (not 2x56MHz) if you use both