Re: Adding uhd-style tags, to soapy driver?

2021-10-18 Thread Karl
hi josh, i'm not a maintainer, but I wanted to comment that i've been looking for features like this for years and the contribution is welcome to see. most open source projects accept work if it's presented in the ways they're used to. i've also found the developer of soapy to be relatively resp

Adding uhd-style tags, to soapy driver?

2021-10-18 Thread Bailey, Josh
Hi all, The gr-uhd driver, tags samples when center frequency changes and some other events): https://github.com/gnuradio/gnuradio/blob/8b23f906844c9784c784934ae06dfdfe10d31a1f/gr-uhd/lib/usrp_source_impl.cc#L619 I've been able to make a minimal patch to the soapy driver (see following), that do

Adding uhd-style tags, to soapy driver?

2021-10-18 Thread Bailey, Josh
Hi all, The gr-uhd driver, tags samples when center frequency changes and some other events): https://github.com/gnuradio/gnuradio/blob/8b23f906844c9784c784934ae06dfdfe10d31a1f/gr-uhd/lib/usrp_source_impl.cc#L619 I've been able to make a minimal patch to the soapy driver (see following), that do

Re: is there in gnuradio a library that for for,loop case execute parallel computing like open mp?

2021-10-18 Thread Marcus Müller
Dear stackprogrammer, you can write any software you like in a GNU Radio block's work function. I'm sure you've done that before! However, multithreading a single GNU Radio block that only does a multiplication or two is almost certainly worse than not doing it. GNU Radio itself is a heavily

Re: C++ OOT module vector size does not match

2021-10-18 Thread Huang Wei
Problem solved, I need to add in the yml file "vlen: 1024 " for both inputs and outputs. Huang Wei 于2021年10月18日周一 下午3:12写道: > Hello group, > > I am writing a C++ OOT module in GNU radio operating in vectors of length > 1024. So in the .cc file I wrote: > gr::io_signature::make(1, 1, sizeof

C++ OOT module vector size does not match

2021-10-18 Thread Huang Wei
Hello group, I am writing a C++ OOT module in GNU radio operating in vectors of length 1024. So in the .cc file I wrote: gr::io_signature::make(1, 1, sizeof(float)*1024), gr::io_signature::make(1, 1, sizeof(float)*1024)), And in the work function I wrote: float *out = (float *) o