Re: How to compute FFT and IFFT in C++ OOT?

2021-12-23 Thread George Edwards
Hi Ron, Thank you very much! I am sure I will have questions later on how to use FFT with windows (Harris Blackman, Kaiser, Hamming, etc.) but that is another story and I will do a new posting on that when I reach that point. Thank you very much! Happy Holiday Season! George On Thu, Dec 23,

Re: How to compute FFT and IFFT in C++ OOT?

2021-12-23 Thread Ron Economos
You have to copy your samples into get_inbuf() first. That's where FFTW expects the data. *dst is just a convenience variable to allow for less typing. Instead of: memcpy(ofdm_fft.get_inbuf(), in, sizeof(gr_complex) * ofdm_fft_size); You can use: memcpy(dst, in, sizeof(gr_complex) *

Re: How to compute FFT and IFFT in C++ OOT?

2021-12-23 Thread George Edwards
Hi Ron, Sorry for bothering some more! In Debugging it appears that dst is not pointing to the input data ( input_items[0]), which we pointed to with pointer variable in at the start of the work(...) method (const gr_complex *in = (const gr_complex *) input_items[0]; Here is a snippet of my

Re: How to compute FFT and IFFT in C++ OOT?

2021-12-23 Thread George Edwards
Thanks Ron! I really appreciate your help! George On Wed, Dec 22, 2021, 9:52 PM Ron Economos wrote: > Comments in-line. > > Ron > On 12/22/21 1:30 PM, George Edwards wrote: > > Hi Ron, > > Today, I tried to create an OOT block to compute FFT based on your good > instructions. However, I must be

Re: fosphor sink block error

2021-12-23 Thread Paul Atreides
Gwendoline: I think you may have conflicting versions of GNURadio and/or Fosphor. I have had this error before as well. I use fosphor on a daily basis on both GNURadio 3.8 and 3.9 and I can confirm that it does work on several different nvidia GPU’s as Sylvain said. I have had some issues

Re: Late packets when using set_time_next_pps and set_start_time with Function Probe

2021-12-23 Thread Marcus D. Leech
On 2021-12-23 00:30, Manav Kohli wrote: Hello, Hope everyone is doing well. I am encountering an issue regarding late packet arrivals when using Function Probe blocks to call set_start_time and set_time_next_pps. I have a flowgraph with a USRP Source and Sink and I am applying the

RE: fosphor sink block error

2021-12-23 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Hi, I install the package but before testing it I see a new problem. Gnuradio is in version 3.9.4.0. The fosphor sink block is in error so I can't run the flowgraph. No matter what Window type I put, I have this error in block parameters: Param - Window Type(wintype): Value

Re: [CFP] Free Software Radio DevRoom 2022

2021-12-23 Thread Andrej Rode
Hi all, Gentle reminder to submit proposals for presentations about e.g. your own projects, FOSS projects updates or other fun hacks you want to talk about. Our CfP is still open until (and including) December 26th. Do not hesitate to contact any of the Devroom managers if you have questions.

Re: fosphor sink block error

2021-12-23 Thread Sylvain Munaut
Hi, If you're using Ubuntu, you can try the intel-opencl-icd package which is the binary package for https://github.com/intel/compute-runtime which is the OpenCL driver for Intel GPUs. However, I'm not sure anyone has ever run fosphor with it ... not sure if it supports the features required, I

RE: fosphor sink block error

2021-12-23 Thread GNU Radio, the Free & Open-Source Toolkit for Software Radio
Hi Sylvain, I realize that I'm not sure of how I install the gr-fosphor package. I download the .deb (gr-fosphor_3.8~2.2d4fe78-1build3_amd64.deb) and I install it. I did that because I don't really understand what to do by reading the wiki fosphor. So I'm back in Gnuradio 3.9  > What GPU

Re: fosphor sink block error

2021-12-23 Thread Sylvain Munaut
Hi Gwendoline, > I tried various versions of Gnuradio but fosphor sink block doesn't work > under 3.8 or 3.9. Definitely go for 3.9 I only maintain it for the latest version of gnuradio ( so it might be 3.10 only soon ... ). > [!] CL Error (-1001, >