Re: N310 radio Sample Rate setting

2023-03-26 Thread George Edwards
Hi Marcus, Thank you very much! Regards, George On Sat, Mar 25, 2023, 4:05 PM Marcus D. Leech wrote: > On 25/03/2023 15:45, George Edwards wrote: > > Hello GNURadio Community, > > > > I am about to use a N310 radio to transmit and receive data. My > > problem is I d

N310 radio Sample Rate setting

2023-03-25 Thread George Edwards
Hello GNURadio Community, I am about to use a N310 radio to transmit and receive data. My problem is I do not know how to interpret the sample rate parameter. I will pose some questions that I am seeking answer to (I read there are 3 Master Clocks for the N310): Q1. The transmitter Sample Rate

Re: How to force the decimation to schedule at least 16 output samples

2023-03-15 Thread George Edwards
gt; > John > > On Wed, Mar 15, 2023 at 12:37 PM Jeff Long wrote: > >> The function is there. Perhaps you're not calling it correctly, but I >> can't tell. >> >> On Wed, Mar 15, 2023 at 11:11 AM George Edwards >> wrote: >> >>> Hi Jeff,

How to force the decimation to schedule at least 16 output samples

2023-03-14 Thread George Edwards
Dear GNURadio Community, I have a decimator OOT block doing my signal processing. It works well, but after 30 or epochs, it schedule an output of one sample which breaks my signal processing algorithm. Then the output gets scheduled to a good number and the algorithm starts working good again

Strange problem, block does not see the data, I can dump incoming data to file and also view constellation

2023-03-11 Thread George Edwards
Hello GNURadio Community, I have a strange problem whereby the block (it feeds a chain of blocks) I am feeding complex data to does not see the data, however, I can view the data on a Constellation GUI as well as dump it to a file for viewing, so I know data is being fed to the chain of blocks.

Re: Reverse engineering .py file grc

2023-03-10 Thread George Edwards
;work" > method instead of being a hier block, they're definitely not generated > from a GRC flow graph. > > So, I'm afraid you'll just have to sit down and recreate the "connect" > calls in your > python in GRC; the rest will kind of arise from that. > >

Data flow stops in grc

2023-03-09 Thread George Edwards
Dear GNURadio Community, I am using Ron's Github dvbs2 project that streams data from Tx to Rx to view the Star Wars clip. I am streaming qpsk data and his grc works fine. I built 3 blocks that do RRC pulse shaping, timing and frame recovery. I inserted my blocks between the transmitter and

Reverse engineering .py file grc

2023-03-09 Thread George Edwards
Hello GNURadio Community, We are looking for a way to reverse engineer some Gnuradio Python blocks that were created by folks no longer with our company to the corresponding GRC files. Is anyone familiar with a tool that can do this for us? Thank you! Regards, George

Re: Installation of Gnuradio on Windows 11

2023-02-06 Thread George Edwards
conda environment can be found here: > > > https://wiki.gnuradio.org/index.php/CondaInstall#Building_OOT_modules_to_use_with_conda-installed_GNU_Radio > > Cheers, > Ryan > > On 2/6/23 11:07 AM, George Edwards wrote: > > Dear GNURadio Community, > > > > I plan to

Installation of Gnuradio on Windows 11

2023-02-06 Thread George Edwards
Dear GNURadio Community, I plan to buy a PC with Windows 11. I looked online to see if folks were installing Gnuradio on Windows 11 and found nothing definitive. Please advise me if Gnuradio works on Windows 11. I also noticed online that there was an installation package for Windows Debugging,

Re: How to display a part of the GRC spectrum?

2023-02-04 Thread George Edwards
Hi Marcus, I understand where you are coming from. Thank you! Regards, George On Fri, Feb 3, 2023 at 12:23 PM Marcus D. Leech wrote: > On 03/02/2023 12:44, George Edwards wrote: > > Hi Marcus, > > I do not have any hardware. I am doing everything in simulation. I >

Re: How to display a part of the GRC spectrum?

2023-02-03 Thread George Edwards
Thank you all for your wonderful ideas! Regards, George On Fri, Feb 3, 2023, 10:22 AM Marcus D. Leech wrote: > On 03/02/2023 12:07, George Edwards wrote: > > Thank you Marcus, thank you everyone! > > A more fundamental question I have is: Let's assume I was working at a low >

Re: How to display a part of the GRC spectrum?

2023-02-03 Thread George Edwards
:38 AM Marcus D. Leech wrote: > On 03/02/2023 11:30, George Edwards wrote: > > Hi Fabian, > Thanks for your suggestion! > > However, it will not help me because I would like to see the spectrum > displayed over the proper range 1GHz +/- 4MHz. > > George > > I t

Re: How to display a part of the GRC spectrum?

2023-02-03 Thread George Edwards
gt; quite a mouthful - it requires a filter transition width of > significantly less than 1/375 of the input Nyquist rate. So, it would > seem advisable to do this decimation in a cascade of decimators – in the > extreme case, decimation by 3, by 5, by 5, by 5. > > Best regards, &

Re: How to display a part of the GRC spectrum?

2023-02-03 Thread George Edwards
quency sink and also set you > oscillator frequency as offset frequency in the sink's settings. > > Best, > Fabian > > Am 03.02.23 um 16:52 schrieb George Edwards: > > Dear GNURadio Community, > > > > Let's say I build a GRC flowgraph operating at a sample rate

How to display a part of the GRC spectrum?

2023-02-03 Thread George Edwards
Dear GNURadio Community, Let's say I build a GRC flowgraph operating at a sample rate of 3 GHz and wish to display the spectrum over the fixed range of 1GHz +/- 4MHz, how do I get the QT GUI Frequency sink to plot over this range? Thank you! George

Re: Grc_gnuradio import blks2 replacement?

2023-02-01 Thread George Edwards
Thanks for the heads up Marcus! George On Wed, Feb 1, 2023, 11:07 AM Marcus D. Leech wrote: > On 01/02/2023 13:03, George Edwards wrote: > > Porting an older version of some code that used an earlier version of > > gnuradio libs, and am rebuilding with gnuradio 3.10. Old co

Grc_gnuradio import blks2 replacement?

2023-02-01 Thread George Edwards
Porting an older version of some code that used an earlier version of gnuradio libs, and am rebuilding with gnuradio 3.10. Old code referred to an import of blks2 from grc_gnuradio which then fails with No module named grc_radio. Is there a replacement for that module?

Re: How can you force the Scheduler to deliver appropriate vector size input

2022-10-26 Thread George Edwards
Thank you very much! George On Wed, Oct 26, 2022, 9:51 AM Marcus Müller wrote: > Haha! Perfect :) Glad you solved the issue! And absolutely no reason to be > sorry! > > On 26.10.22 17:04, George Edwards wrote: > > Hi Marcus, > > I have egg on my face! I messed up

Re: How can you force the Scheduler to deliver appropriate vector size input

2022-10-26 Thread George Edwards
. > > So please tell us how exactly you notice / observe this change in input > vector length! > > Best regards, > Marcus > > On 26.10.22 03:24, George Edwards wrote: > > Hello GNURadio Community, > > > > I designed an OOT block to accept vectors of size 4

Re: How can you force the Scheduler to deliver appropriate vector size input

2022-10-26 Thread George Edwards
otice / observe this change in input > vector length! > > Best regards, > Marcus > > On 26.10.22 03:24, George Edwards wrote: > > Hello GNURadio Community, > > > > I designed an OOT block to accept vectors of size 448 samples. In the > flowgraph, my block > &

How can you force the Scheduler to deliver appropriate vector size input

2022-10-25 Thread George Edwards
Hello GNURadio Community, I designed an OOT block to accept vectors of size 448 samples. In the flowgraph, my block is preceded a Stream-to-Vector block with the vector size set to 448 samples. My OOT block expects vector data that are of length 448 or multiple of 448 samples for signal

Re: Problem with the OOT forecast() method in Python

2022-10-12 Thread George Edwards
, 2:58 PM Jeff Long wrote: > The last one looks correct, and would not have given the error you mention > above. What happened? > > On Wed, Oct 12, 2022 at 4:49 PM George Edwards > wrote: > >> Hi Jeff, thank you very much for the response. >> I tries: >> nin

Re: Problem with the OOT forecast() method in Python

2022-10-12 Thread George Edwards
ion should return a list, containing the > number of items required for each input. > > On Wed, Oct 12, 2022 at 8:08 AM George Edwards > wrote: > >> Hello GNURadio Community, >> >> I am getting a TypeError when I fill in the code in the forecast() method >> in

Problem with the OOT forecast() method in Python

2022-10-12 Thread George Edwards
Hello GNURadio Community, I am getting a TypeError when I fill in the code in the forecast() method in my Gnuradio OOT block design. I know, if I want to interpolate or decimate, I can simply pick the block type in the gr_modtool design menu, however, I would like to develop the capability to

Problems getting the N310 to send dvbs2 video to itself

2022-09-26 Thread George Edwards
Dear GNURadio Community! I am sending an dvbs2 video file on an N310 radio in loopback from TX to RX using QPSK modulation (using Ron's dvbs2 Github project). I keep getting "Baseband header crc failed" no matter what I try. I attached a Constellation Sink to the output of the UHD: USRP Source to

Installed Gnuradio release 3.9 and see 3.10

2022-09-12 Thread George Edwards
Hello GNURadio Community, I installed Ubuntu 22.04 on my computer and then tried to installing Gnuradio 3.9 using PPA installation where I explicitly request for gnuradio-releases-3.9. The Gnuradio version installed is 3.10.1.1. Why am I not getting a Gnuradio version 3.9? Am I missing something?

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
this on the Windows PC? Thank you! George George On Mon, Aug 15, 2022 at 5:08 AM Marcus Müller wrote: > Hi George, > > On 8/3/22 19:23, George Edwards wrote: > > Hi Marcus, thanks for the response, very much appreciated! > > I have a Windows PC and I believe that in order to build OOT

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
/22 03:04, Marcus Müller wrote: > > Hi George, > > > > On 8/3/22 19:23, George Edwards wrote: > >> Hi Marcus, thanks for the response, very much appreciated! > >> I have a Windows PC and I believe that in order to build OOT blocks, > >> one needs a Linux environm

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-14 Thread George Edwards
have to update the firmware. > > Post the entire results from > >apt list --installed | grep hackrf > > so we can see the versions. There should be 2 entries. > > Note the date of the firmware - 2014 - was first year the hackrf was > released via Kickstart. > > -

Problem seeing Hackrf One Hardware properly going through VirtualBox

2022-08-12 Thread George Edwards
Hello GNURadio Community, I designed an FM receiver in Gnuradio-Companion to receive an FM broadcast signal from the Hackrf One. I am running Gnuradio-Companion 3.9 on Ubuntu 20.04 inside VirtualBox 6.1. I installed the Hackrf software on Ubuntu and set VirtualBox USB port to see the Scott Gadget

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-04 Thread George Edwards
orks on ubuntu but > Ideally you'd like the version of firmware to match the software. > > -- Cinaed > > > On 8/3/22 18:28, George Edwards wrote: > > Hello Gentlemen, > > I installed VirtualBox extension pack and made the USB connection in > VirtualBox to the Hacker

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
limit the sample rate you can achieve since > there is some overhead passing through the USB connection. Consider > installing Linux directly on your machine. > > On Aug 3, 2022, at 6:12 AM, George Edwards wrote: > >  > Hello GNURadio Community, > > I built a grc flowgrap

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
that's prohibitively slow, as > well. Also, why do > VirtualBox (and that's not a Microsoft product, so I'm really confused by > what you're > referring to), if you can have WSL2? > > Best regards, > Marcus > > On 03.08.22 14:15, George Edwards wrote: > > Hel

Re: How do I extract individual values from pmt list and dict

2022-08-03 Thread George Edwards
t you must not put "payload" data into strings that you put into > PMT. > `pmt.to_pmt(str)` generates a PMT symbol, and these are saved for evermore > in a global table. > > Best regards, > Marcus > > On 03.08.22 13:19, George Edwards wrote: > > Hello GNURadio

Ubuntu 20.04 cannot find the Hackrf board?

2022-08-03 Thread George Edwards
Hello GNURadio Community, I built a grc flowgraph in Gnuradio 3.9.5 on Ubuntu 20.04 inside Microsoft VirtualBox. I have a HackRF One radio hardware. I installed the hackrf drivers in Ubuntu with command: sudo apt-get install -y hackrf and confirmed the installation. I connected the HackRF One

How do I extract individual values from pmt list and dict

2022-08-03 Thread George Edwards
Hello GNURadio Community, Let's assume the following pmt definitions for a list and and dictionary in an OOT block: P_list = pmt.to_pmt([1, 2, 3.45, 'eggs']) P_dict = pmt.to_pmt({'spam': 20, 'eggs': 40}) How do I explicitly extract the first element in P_list and the value for 'spam' from

Re: Problem extracting individual elements from pmt list and pmt dictionary messages

2022-08-02 Thread George Edwards
ict_ref is what gets returned if the key is not > found. > > On Fri, Jul 29, 2022 at 11:13 AM George Edwards > wrote: > >> Hello GNURadio Community, >> >> I am creating a Python OOT block to send/receive pmt list and pmt >> dictionary messages. In both

Re: Problem extracting individual elements from pmt list and pmt dictionary messages

2022-07-29 Thread George Edwards
.dict_ref(d, k, nil) > > The last argument to dict_ref is what gets returned if the key is not > found. > > On Fri, Jul 29, 2022 at 11:13 AM George Edwards > wrote: > >> Hello GNURadio Community, >> >> I am creating a Python OOT block to send/receive pmt list

Problem extracting individual elements from pmt list and pmt dictionary messages

2022-07-29 Thread George Edwards
Hello GNURadio Community, I am creating a Python OOT block to send/receive pmt list and pmt dictionary messages. In both cases, I am having problems extracting the elements in the message. Let's assume (some trivial values): P_list = pmt.to_pmt([1, 2, 3.45, 'eggs']) P_dict = pmt.to_pmt({'spam':

Re: Problem seeing HackRF hardware on Mac via a Docker Container

2022-07-29 Thread George Edwards
ws Subsystem > for Linux but that is improving over time. > > Regards, > Derek > > On 7/28/2022 8:06 PM, George Edwards wrote: > > Hi Marcus, do you know if a Docker Container on Mac talk to either the > X310 or N310 radio? George > > On Thu, Jul 28, 2022, 11:32 AM Marcu

Re: Problem seeing HackRF hardware on Mac via a Docker Container

2022-07-28 Thread George Edwards
pass-through-a-usb-device-to-a-container > > So, this is sadly impossible. > > Best regards, > Marcus > > On 7/28/22 17:03, George Edwards wrote: > > Hello GNURadio Community! > > > > I am working with Gnuradio 3.9 on a Mac. Gnuradio runs inside a Docker > &g

Re: Problem seeing HackRF hardware on Mac via a Docker Container

2022-07-28 Thread George Edwards
ssible. > > Best regards, > Marcus > > On 7/28/22 17:03, George Edwards wrote: > > Hello GNURadio Community! > > > > I am working with Gnuradio 3.9 on a Mac. Gnuradio runs inside a Docker > > Container. I build a Gnuradio flow graph with a soapy HackRF source >

Problem seeing HackRF hardware on Mac via a Docker Container

2022-07-28 Thread George Edwards
Hello GNURadio Community! I am working with Gnuradio 3.9 on a Mac. Gnuradio runs inside a Docker Container. I build a Gnuradio flow graph with a soapy HackRF source block to interface with the HackRF hardware. When I run the flow graph, it says there is no matching HackRF. Will appreciate any

Re: Problems in my Python OOT specifications using input and output vectors

2022-07-21 Thread George Edwards
Hello GNURadio Community, No need to respond to my posting, I figured it out. Thank you! George On Wed, Jul 20, 2022 at 1:01 PM George Edwards wrote: > Hello GNURadio Community, > > I wrote a Python OOT block that takes a vector input and outputs a vector > of the same size. &g

Problems in my Python OOT specifications using input and output vectors

2022-07-20 Thread George Edwards
Hello GNURadio Community, I wrote a Python OOT block that takes a vector input and outputs a vector of the same size. In the grc, my OOT block is preceeded by a stream to vector and followed by a vector to stream (I specify the vector number items in both blocks as well as the yml for my Python

GRC blocks become unresponsive w data stored in Variable Blocks

2022-05-05 Thread George Edwards
Hello GNURadio Community, Several Gnuradio tutorials show Variable Blocks that compute filter coefficients which are passed as input parameters to dsp signal processing blocks. In the past, I designed a GRC flow graph with a Variable Block that computes filter coefficients that were passed as an

Re: Problem using volk_32fc_s32fc_multiply_32fc function with vector params

2022-05-03 Thread George Edwards
t template arguments lead to > different classes and thus, a function that accepts a `std::vector` will > not accept a `volk::vector` and vice versa. > > Cheers > Johannes > > On 03.05.22 16:01, George Edwards wrote: > > Hi Johannes, > > > > Thank you very much! T

Re: Problem using volk_32fc_s32fc_multiply_32fc function with vector params

2022-05-03 Thread George Edwards
ignment. > `volk::vector` is available in `volk/volk_alloc.hh`. Since it is a C++ > only feature. > > Cheers > Johannes > > On 03.05.22 04:28, George Edwards wrote: > > Hello GNURadio Community, > > > > I am having a problem using the above function with vector p

Re: Problem using volk_32fc_s32fc_multiply_32fc function with vector params

2022-05-03 Thread George Edwards
Hi Brian, Thank you very much! For my example, I will the following change: volk_32fc_s32fc_multiply_32fc(my_val.data(), my_val.data(), scale, 240); Thank you very much! George On Mon, May 2, 2022 at 10:51 PM Brian Padalino wrote: > On Mon, May 2, 2022 at 11:26 PM George Edwards >

Problem using volk_32fc_s32fc_multiply_32fc function with vector params

2022-05-02 Thread George Edwards
Hello GNURadio Community, I am having a problem using the above function with vector parameters. If I use an array say: gr_complex my_val[240]; volk_32fc_s32fc_multiply_32fc(my_val, my_val, scale, 240); It works! But if I change my_val to be a vector like below, it fails: std::vector

Re: Meaning of value in noutput_items for an OOT with vector input

2022-04-21 Thread George Edwards
(implying input). In a sync block, they are the > same though, unless you overwritten forecast(). > > On Thu, Apr 21, 2022 at 12:14 PM George Edwards > wrote: > >> Hi Jeff, >> >> Thanks for your reply! >> >> So let me make certain that I understand

Re: How pass an input vector in an OOT QA test?

2022-04-21 Thread George Edwards
nature of your > block is. > > On 20.04.22 17:22, George Edwards wrote: > > Hello GNURadio Community, > > > > In an OOT QA testing of a signal processing block designed to accept an > input vector of 4 > > elements, I am having problems passing the QA input as a vect

Re: Meaning of value in noutput_items for an OOT with vector input

2022-04-21 Thread George Edwards
t; > On Wed, Apr 20, 2022 at 1:44 PM George Edwards > wrote: > >> Hello GNURadio Community, >> >> I have written a C++ OOT "sync" block with vector input and vector output >> (data type float). I wrote a line in my program to print the value of >>

Meaning of value in noutput_items for an OOT with vector input

2022-04-20 Thread George Edwards
Hello GNURadio Community, I have written a C++ OOT "sync" block with vector input and vector output (data type float). I wrote a line in my program to print the value of noutput_items on each GRC flow graph iteration and it alternately prints the values 15 and 16. This is surprising!!! I was

How pass an input vector in an OOT QA test?

2022-04-20 Thread George Edwards
Hello GNURadio Community, In an OOT QA testing of a signal processing block designed to accept an input vector of 4 elements, I am having problems passing the QA input as a vector. It sees the input as a stream. I tried passing the data in two ways, but each failed. Here are the two ways I have

Re: Problems with OOT C++ fft

2022-04-20 Thread George Edwards
Hello GNURadio Community, Please ignore the above problem, I figured it out. George On Sun, Apr 17, 2022 at 5:16 PM George Edwards wrote: > Dear Gnuradio Community, > > I am writing an OOT signal processing algorithm in C++ that requires both > fft and ifft. I use the Gnuradio

Problems with OOT C++ fft

2022-04-17 Thread George Edwards
Dear Gnuradio Community, I am writing an OOT signal processing algorithm in C++ that requires both fft and ifft. I use the Gnuradio C++ library to get the fft and ifft functions. To confirm understanding of setting up these functions, I wrote C++ OOT blocks for both fft and ifft blocks. I ran a

Re: How to get information on number of input data samples in C++ OOT

2022-04-14 Thread George Edwards
Hi Jeff and Vasil, Thank you very much! George On Wed, Apr 13, 2022 at 7:21 PM Jeff Long wrote: > The C++ API gives you ninput_items explicitly, so ninput_items[0] is the > number of items in input_items[0]. > > On Wed, Apr 13, 2022 at 7:18 PM George Edwards > wrote: >

How to get information on number of input data samples in C++ OOT

2022-04-13 Thread George Edwards
Hello GNURadio Community, I am writing a Gnuradio C++ OOT block and need to get the number of complex input data samples fed into my block by the scheduler on each iteration of data delivery. I need to know this information because the relationship between my input and output stream is not as

Re: The firdes.low_pass_2(...) function in my GRC has stopped working

2022-03-16 Thread George Edwards
Hi Marcus, Thank you! I will look into the link you sent! George On Wed, Mar 16, 2022 at 11:26 AM Marcus D. Leech wrote: > On 2022-03-16 11:17, George Edwards wrote: > > Hello GNURadio Community, > > I have used the firdes.low_pass_2(...) function in many of my Gnuradio >

The firdes.low_pass_2(...) function in my GRC has stopped working

2022-03-16 Thread George Edwards
Hello GNURadio Community, I have used the firdes.low_pass_2(...) function in many of my Gnuradio blocks in the past to pass filter coefficients to my blocks and it has always worked. Yesterday I opened one of my GRC that uses his filter function and it showed an error. The specific usage was:

Re: How to fill out the data type for parameter which is an array to a C++ OOT block?

2022-03-16 Thread George Edwards
gt; is the corresponding yml file of Chunks to Symbols, Based on that, you > could use the following in the yml file: > > dtype: float_vector > > > I hope that this helps. > > Regards, > Mubashira Zaman > > > > > > > > > > > > On Tuesday

How to fill out the data type for parameter which is an array to a C++ OOT block?

2022-03-15 Thread George Edwards
Hello GNURadio Community, I am making a Gnuradio C++ OOT block using the gr_modtool. At the start of a design gr_modtool provides a template for the user to fill out. One of the items to fill out is parameters used. I have a parameter (let's call if coeffs) that is not a single floating point

Re: Is there a Gnuradio C++ function that is the equivalent of SciPy firls LP filter

2022-03-02 Thread George Edwards
/>:https://liquidsdr.org/ especially here: > https://liquidsdr.org/doc/firdes/ > Does that help? > BR, > > Marcin > > > pon., 28 lut 2022 o 22:27 George Edwards > napisał(a): > >> Hello GNURadio Community, >> >> I would like a Gnuradio C++ equivalent

Is there a Gnuradio C++ function that is the equivalent of SciPy firls LP filter

2022-02-28 Thread George Edwards
Hello GNURadio Community, I would like a Gnuradio C++ equivalent to SciPy's firls LP filter to find the filter coefficients for a C++ OOT block I am designing. Also, if there is a way to incorporate the SciPy firls filter package in a Gnuradio C++ OOT, I am open to that. Thank you! Regards,

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

2022-02-23 Thread George Edwards
0.0272494 > tap 7: 1.54168e-17 > tap 8: 0.0582835 > tap 9: -0.0539706 > tap 10: -0.0877955 > tap 11: 0.298026 > tap 12: 0.600081 > tap 13: 0.298026 > tap 14: -0.0877955 > tap 15: -0.0539706 > tap 16: 0.0582835 > tap 17: 1.54168e-17 > tap 18: -0.0272494 > tap 1

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

2022-02-22 Thread George Edwards
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, >> >> Thanks very much for your help. >>

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

2022-02-22 Thread George Edwards
help. George On Tue, Feb 22, 2022 at 6:15 AM Vasil Velichkov wrote: > 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 < > https:

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

2022-02-21 Thread George Edwards
ut: > 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

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

2022-02-14 Thread George Edwards
> 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 OO

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

2022-02-13 Thread George Edwards
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

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

2021-12-23 Thread George Edwards
> > You can use: > > memcpy(dst, in, sizeof(gr_complex) * ofdm_fft_size); > > Ron > On 12/23/21 10:42 AM, George Edwards wrote: > > Hi Ron, > > Sorry for bothering some more! > In Debugging it appears that dst is not pointing to the input data ( > inpu

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

2021-12-23 Thread George Edwards
le for > details. > > https://github.com/gnuradio/gnuradio/blob/master/gr-fft/lib/fft_v_fftw.cc > > Ron > On 12/14/21 7:53 PM, George Edwards wrote: > > Dear GNURadio Community: > > I am writing a C++ OOT block where the signal processing requires > the computation

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 > in

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

2021-12-22 Thread George Edwards
my_fft_cc.impl.cc with a #define vlength 8, unless the fft function forces things to a minimum of 64 samples I will appreciate any suggestions you can offer here. Regards, George On Thu, Dec 16, 2021 at 8:14 PM Ron Economos wrote: > Comments in-line. > > Ron > On 12/16/21 12:47 PM, Ge

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

2021-12-17 Thread George Edwards
gt; Ron > On 12/16/21 7:19 PM, George Edwards wrote: > > Hi Ron, > > Thank you very much! I understand most of it, except for how to index > properly into the values returned by the method ofdm_fft.get_outbuf() to > do a forward FFT per your instruction to do the shift after

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

2021-12-16 Thread George Edwards
() //starting at address ofdm_fft_size/2 Thank you! Best Regards, George On Thu, Dec 16, 2021 at 8:14 PM Ron Economos wrote: > Comments in-line. > > Ron > On 12/16/21 12:47 PM, George Edwards wrote: > > Hi Ron, > > Thanks again for sending the links and annotating the lin

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

2021-12-16 Thread George Edwards
akeLists.txt > > https://github.com/drmpeg/gr-paint/blob/master/lib/CMakeLists.txt#L25 > > If you need a window, you can look at the block implementation file for > details. > > https://github.com/gnuradio/gnuradio/blob/master/gr-fft/lib/fft_v_fftw.cc > > Ron &

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

2021-12-15 Thread George Edwards
/drmpeg/gr-paint/blob/master/CMakeLists.txt#L78 > > And link with it in lib/CMakeLists.txt > > https://github.com/drmpeg/gr-paint/blob/master/lib/CMakeLists.txt#L25 > > If you need a window, you can look at the block implementation file for > details. > > https://github.com/gnura

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

2021-12-14 Thread George Edwards
Dear GNURadio Community: I am writing a C++ OOT block where the signal processing requires the computation of both fft and ifft. Is there any Gnuradio C++ functions for the fft and ifft? If not, is there any way to wrap in Python's libraries with these methods into C++ OOT? Thank you! Regards,

Re: Problems using multiple C files in OOT Block

2021-10-21 Thread George Edwards
Hi Vasil, I used gr_modtool to remove the entire block and build it back from scratch and now it works beautifully. Thanks for your offer to help. I appreciate the Gnu Radio Community for willingness to offer support! Regards, George On Wed, Oct 20, 2021 at 3:02 PM George Edwards wrote

Re: Problems using multiple C files in OOT Block

2021-10-21 Thread George Edwards
bout the visibility attribute, there is nice bit of an > explanation in > https://stackoverflow.com/questions/52719364/how-to-use-the-attribute-visibilitydefault > > Hope that made sense > Cheers > Boris > > On Thu, 21 Oct 2021 at 08:02, George Edwards > wrote: > >> Hi Vasil, &g

Re: Problems using multiple C files in OOT Block

2021-10-20 Thread George Edwards
Hi George, > > On 19/10/2021 16.55, George Edwards wrote: > > Below is a description of what I did: > > > > What you did is correct and should be enough. > > > When I compiled and run, it failed because it could not see the function > > my_add. > >

Problems using multiple C files in OOT Block

2021-10-19 Thread George Edwards
Hello GNURadio Community, With complex algorithms, there are times when one needs to add C files to an OOT module on top of those created by the gr_modtool to make the coding more modular and cleaner. I made a try with a trivial C++ adder function file, but could not get it to work. Below is a

Problem with Python QA testing of C++ OOT module

2021-10-03 Thread George Edwards
Hello GNURadio Community, I am working with Gnuradio 3.9. When I design my OOT module with Python as the selected language and use the Python QA for testing, it works wonderfully. Now, if I take the same algorithm, translate it to C++ and in gr_modtool select C++ as the language for my module

How to access parameters in the Constellation Rect Object in an OOT module?

2021-08-29 Thread George Edwards
Hello GNURadio Community, I am building an OOT block that needs to access the sym_map and const_points in the Constellation Rect Object. Let's say, I call the Constellation Rect Object qpsk and set the vector values for sym_map and const_points. Then, in using the gr_modtool to build the OOT

Re: Symbols covered by RRC filter in Rect Constellation Modulator

2021-08-07 Thread George Edwards
f._excess_bw, # excess bandwidth (roll-off factor) > ntaps) > self.rrc_filter = > filter.pfb_arb_resampler_ccf(self._samples_per_symbol, >self.rrc_taps) > > On Fri, Aug 6, 2021 at 2:24 PM George Edwards >

Symbols covered by RRC filter in Rect Constellation Modulator

2021-08-06 Thread George Edwards
Hello GNURadio Community, The constellation modulator has an RRC filter and we are allowed to set the alpha and the number of samples per symbol parameters. An RRC filter is normally designed to cover a number of symbols to the right and left from the center of its impulse response. Anyone know

Does binary package installation supports OOT capabilities

2021-07-08 Thread George Edwards
Hello, Does binary package installation of Gnuradio supports the building OOT Modules or is it that to have OOT module building capability one must do a source installation of Gnuradio with the Pybombs on Ubuntu? Thank you! Regards, George

Re: Having problems using forecast method

2021-07-06 Thread George Edwards
your computed number of input samples and a > print statement in the general_work method that prints the length of the > input_items[0] and output_items[0] arrays (before you change any of > them). With these prints you should be able to follow my description of > the scheduler and unders

Re: Having problems using forecast method

2021-07-05 Thread George Edwards
as to have the perspective on how to use the forecast method. Thanks! George On Mon, Jul 5, 2021 at 2:44 PM George Edwards wrote: > Good afternoon GNURadio community! > > I am having a problem using the forecast method in my OOT model. > > In my model, I have one input port and

Having problems using forecast method

2021-07-05 Thread George Edwards
Good afternoon GNURadio community! I am having a problem using the forecast method in my OOT model. In my model, I have one input port and one output port with streaming data. My signal processing algorithm converts every M input samples into N output samples where the ratio of M to N is a

Re: consume method not defined error

2021-07-04 Thread George Edwards
On Sat, Jul 3, 2021 at 5:17 PM Marcus Müller wrote: > Hey George, > > did you maybe forget that `consume` is a member of the class, and not just > a freestanding > name? You'd want to use `self.consume`, not just `consume`. > > Best regards > Marcus > > On 02.07.

Re: consume method not defined error

2021-07-04 Thread George Edwards
wrote: > Hey George, > > did you maybe forget that `consume` is a member of the class, and not just > a freestanding > name? You'd want to use `self.consume`, not just `consume`. > > Best regards > Marcus > > On 02.07.21 22:33, George Edwards wrote: > > Hello, &g

consume method not defined error

2021-07-02 Thread George Edwards
Hello, I am working with Gnuradio 3.8. In response to my recent question, I think I found out why my program ran away in an infinite loop. It was because I was not consuming the inputs. So at the end of the loop in the general_work method when I used all the incoming data, I added the following

QA test inexplicably goes into infinite loop

2021-07-02 Thread George Edwards
Happy 4th to everyone! I am doing a QA test and it goes into an infinite loop and there is nothing in my code to explain this, except my misunderstanding of writing code for Gnuradio. I am working with the general model because I have M input samples to every N output samples (M and N are not

Passing a "Tag Value" to "Multiply by Tag Value" block

2021-04-25 Thread George Edwards
Hello GNURadio Community: In my GRC signal flowgraph, I would like to make use of a complex value computed down stream to multiply upstream input values. Gnuradio has a "Multiply by Tag Value" block which I think would work wonderfully, if I knew how to use it. I am building an OOT downstream

Re: CCSDS 27 encoder/decoder

2021-04-19 Thread George Edwards
wiki.gnuradio.org/index.php/Guided_Tutorial_PSK_Demodulation > > > Regards, > On 19/04/2021 00:48, George Edwards wrote: > > Hello Gnuradio Community, > > I am working with the Gnuradio CCSDS 27 encoder/decoder blocks in Gnuradio > ver 3.8. To ensure I understand these blocks, I fed a random

CCSDS 27 encoder/decoder

2021-04-18 Thread George Edwards
Hello Gnuradio Community, I am working with the Gnuradio CCSDS 27 encoder/decoder blocks in Gnuradio ver 3.8. To ensure I understand these blocks, I fed a random signal from 0-255 into the encoder with an embedded Python block between the encoder and decoder which converts the bit values 0 and 1

  1   2   >