Re: Adding a set_sensitivity() function to VCO_C block

2021-02-12 Thread Achilleas Anastasopoulos
So editing the vco_c.h file : ... static sptr make(double sampling_rate, double sensitivity, double amplitude); //! Sets the sensitivity. virtual void set_sensitivity(double sensitivity) =0; did the job! thanks again, Achilleas

Re: Adding a set_sensitivity() function to VCO_C block

2021-02-12 Thread Jeff Long
You didn't mention editing gr-blocks/include/gnuradio/blocks/vco_c.h. On Fri, Feb 12, 2021 at 9:39 AM Achilleas Anastasopoulos wrote: > Hi all, > > I am working with GNURADIO 3.7 and realized that the VCO blocks do not > have functionality to change the sensitivity parameter during operation. >

Adding a set_sensitivity() function to VCO_C block

2021-02-12 Thread Achilleas Anastasopoulos
Hi all, I am working with GNURADIO 3.7 and realized that the VCO blocks do not have functionality to change the sensitivity parameter during operation. I wanted to use them for generating FSK signals. I realized I can do that equivalently with the Frequency Mod block, so this is fine. However I

Re: Missing Positive Spectrum

2021-02-12 Thread Paul Boven
Hi again, The problem turned out to be a bit more insidious... On 2/12/21 11:58 AM, Paul Boven wrote: Try: [list(range(-15, 0)) + list(range(1, 17))] This should of course have been: [list(range(-16,0)) + list(range(1, 17))] Part of your problem is that you are doing a 128 channel FFT, and

Re: Missing Positive Spectrum

2021-02-12 Thread Paul Boven
Hi Jay, On 2/12/21 12:08 AM, Jay Patel wrote: I am trying to create an OFDM transmitter using GNU Radio Companion and an Analog Devices ADALM-Pluto SDR (attached my *grc file). It looks like i am missing something. When i visualize my spectrum, it only have negative side, I am expecting both