Re: Passing Tags or Additional Port Data to Change Parameters of Downstream Blocks

2024-04-18 Thread Ron Economos
Matt, Take a look at my DVB-S2 OOT. This is a different version of the DVB-S2 transmitter that implements VCM (as opposed to the regular CCM version included in GNU Radio). https://github.com/drmpeg/gr-dvbs2 It implements exactly what you're talking about to achieve VCM (Variable Coding

Re: Building From Source On Linux

2024-03-16 Thread Ron Economos
You have more than one problem. 1) There are many more than 32 tests. This indicates that you haven't built all of the components. When you run cmake, check the output at the end. It should look similar this. -- ## -- # Gnuradio enabled

[USRP-users] Re: OFDM signal transmission by x310 presents a peak

2024-02-22 Thread Ron Economos
It's the DC offset of the direct conversion transmitter. With the X310, you can move it out of the signal with a tune_request(). You can move the spike up to 1/2 the sample rate in either direction. Here's an example at 6.912 Msps. uhd.tune_request(center_freq, 340) ATSC 3.0 OFDM This

Re: gr-lora CMake error

2024-01-22 Thread Ron Economos
That repository is much too old to build under modern GNU Radio. It hasn't been updated in 7 years. There are some alternatives. It looks like the most maintained is this one. https://github.com/tapparelj/gr-lora_sdr Another one that should build. https://github.com/rpp0/gr-lora Ron On

[Touch-packages] [Bug 2036358] Re: systemd wait-online now times out after jammy and lunar upgrade

2023-09-20 Thread Ron Economos
Tested 249.11-0ubuntu3.11 on Ubuntu 22.04 (jammy) for riscv64 (HiFive Unmatched). The system now boots normally. $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10 rtnl: message parse - overwriting repeated attribute Found link 2 Found link 1 eth0: link is ignored

[Touch-packages] [Bug 2036598] Re: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes

2023-09-19 Thread Ron Economos
Just a note, I did add --timeout=10 to systemd-networkd-wait- online.service to mitigate the issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2036598 Title: Recent

[Touch-packages] [Bug 2036598] Re: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes

2023-09-19 Thread Ron Economos
$ networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 eth0 etherroutableconfigured 2 links listed. $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10 rtnl: message parse - overwriting repeated attribute Found link

[Touch-packages] [Bug 2036598] [NEW] Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes

2023-09-19 Thread Ron Economos
Public bug reported: After the update of systemd to version 249.11-0ubuntu3.10, the boot on the HiFive Unmatched board is stalled by about 2 minutes by systemd- networkd-wait-online. The error messages from /var/log/syslog: Sep 18 08:34:49 riscv64 systemd-networkd-wait-online[2898]: Timeout

Re: gr-dvbt

2023-06-27 Thread Ron Economos
It was ported to GNU Radio many years ago. The example flow graphs are in: /share/gnuradio/examples/dtv dvbt_tx_2k.grc dvbt_tx_8k.grc dvbt_rx_8k.grc Also, take a look at README.dvbt in the same directory. The transmitter works fine. The receiver has a major flaw in that it can't handle any

Re: OOT modules config for versions

2023-06-12 Thread Ron Economos
You just use find_package() now. Here's an example: https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77 You also have to link to the modules in lib/CMakeLists.txt. Like so: https://github.com/drmpeg/gr-atsc3/blob/master/lib/CMakeLists.txt#L42 Ron On 6/12/23 00:01, Ali G.

[USRP-users] Re: Harmonic Distortion with B205mini

2023-04-12 Thread Ron Economos
This is what I see with a B210 at 145 MHz fundamental. I had the analyzer on a large RBW, so the even order harmonic are buried in the analyzer noise. I don't think there's any remedy except for external filters. Ron B210 harmonics On 4/12/23 16:20, Shenk, Trey E via USRP-users wrote: The

[USRP-users] Re: B205 mini i very high lo-leakage, image rejection and aggressive DC correction.

2023-03-28 Thread Ron Economos
Here's an example from a B210. This is a DVB-S2 signal at 10 Msps, master clock at 40 MHz, lo offset of 4 MHz, and gain set to 70. Remember that the actual average power of the digital signal is RBW/bandwidth. 30,000/6,000,000 = 0.005. 10*log10(0.005) = -23 dB. So the average power is 23 dB

Re: compiling GR 3.10.5.1 with ENABLE_GR_SOAPY=ON

2023-02-07 Thread Ron Economos
which I don't understand. I certainly appreciate the suggestions and it encourages me to keep plugging away. It will be a learning experience for sure. Rick On 2023-02-07 14:27, Ron Economos wrote: This is just a guess, but you could try adding: -DCMAKE_PREFIX_PATH=~/.local to your cmake

Re: compiling GR 3.10.5.1 with ENABLE_GR_SOAPY=ON

2023-02-07 Thread Ron Economos
Radio build infrastructure shouldn't even allow for enabling of the SoapySDR components. So, Rick, could you tell us which operating system/distro this is on, and how you did that local installation of SoapySDR, precisely? Best regards, Marcus On 07.02.23 06:19, Ron Economos wrote: You probably nee

Re: compiling GR 3.10.5.1 with ENABLE_GR_SOAPY=ON

2023-02-06 Thread Ron Economos
You probably need the development package. sudo apt-get install libsoapysdr-dev Ron On 2/6/23 18:37, aardric wrote: I executed the following steps which I think are consistent with documentation on the wiki. (1) local installation of SoapySDR 0.7.2 appears to work. (2) build and local

Re: Is there something similar to the zero-span of spectrum analyzers in gnuradio?

2022-12-19 Thread Ron Economos
Just use a Qt GUI time sink with a complex to magnitude block ahead of it. Ron On 12/19/22 07:18, Juan Antonio wrote: I must be very confused on this topic. I understood that the zero-span function in an analyzer meant that the span was reduced to the maximum and, from there, what you saw on

Re: How to perform FFT shift after FFT?

2022-08-22 Thread Ron Economos
Just look at the code for the FFT block. https://github.com/gnuradio/gnuradio/blob/main/gr-fft/lib/fft_v_fftw.cc#L81 Ron On 8/22/22 03:37, Bartłomiej Sójka wrote: Hi, I'm trying to write a block that would compute FFT on the received samples, but I'm having trouble with finding how to

[USRP-users] Re: Problem installing UHD dependencies

2022-07-11 Thread Ron Economos
It's not needed. Just delete it from the command. Ron On 7/11/22 14:44, k1barrett--- via USRP-users wrote: I am running ubuntu 22.04. I am trying to build UHD from source using this guide here.

Re: Invalid type specifier

2022-07-10 Thread Ron Economos
Are you trying to set the Minoutbuf setting on your block to something other than 0? There was a bug with that in 3.10.2. Fixed in 3.10.3. https://github.com/gnuradio/gnuradio/commit/af6f28e3ba7042ac5eeb8c4b39857cbb15d436a5 Ron On 7/10/22 01:44, user 1 wrote: Hello, I have build a simple

Re: Problem with using gr-filter in my OOT module

2022-06-27 Thread Ron Economos
Niko, You have to add a couple of things to some CMake files. 1) Add the component(s) to the top level CMakeLists.txt. For example https://github.com/drmpeg/gr-atsc3/blob/master/CMakeLists.txt#L77 2) Add the libraries to the linker in lib/CMakeLists.txt. For example:

Re: Nonlinear distortion of USRP

2022-06-06 Thread Ron Economos
Sorry, that's incorrect. The B210 is completely linear up to +/- 1.0. Here's a spectrum analyzer trace confirming it. B210 linearity test Ron On 6/6/22 11:37, WarMonkey wrote: DAC nonlinearity is not a problem. The problem is the datapath. In USRP B210, the path is PC -> FPGA -> AD9361

Re: OOT module library name

2022-05-18 Thread Ron Economos
I meant make your local project directory a git repository with git init, git add and git commit. That will suppress the "compat-xxx-xunknown" file name (and change it to a commit hash). But changing the VERSION_PATCH is a better solution. In fact, I changed gr_modtool to default to that now

Re: Determining peak instantaneous power in waveform

2022-05-17 Thread Ron Economos
I have a block that may be useful for you. It just prints the peak IQ level. It's usually placed just before a hardware sink block. https://github.com/drmpeg/gr-iqlevels The output looks like this: peak real = +1.631239e-01, -1.961090e-01, 0, 0 peak

Re: OOT module library name

2022-05-17 Thread Ron Economos
Make your project a git repository. Ron On 5/17/22 07:35, Wojciech Kazubski wrote: Hello! When I build (on Linux) a GNU Radio OOT module, written in C++, the library file is named like this: libgnuradio-modulename.so.v0.2-compat-xxx-xuknown The name is the same for versions 0.2.0, 0,2.1, ...

Re: DVB-T receiving

2022-02-15 Thread Ron Economos
A couple of things. 1) If you're capturing at 10 Msps, you need to resample to the DVB-T sample rate of 9.142857 Msps. You can do that with a rational resampler block set to interpolation = 64 and decimation = 70. 2) That's not a very good signal. It has a lot of multipath and poor SNR. Ron

Re: DVB-T example loopback

2022-02-10 Thread Ron Economos
, I cannot play it. Tibor Herman Tibor ezt írta (időpont: 2022. febr. 10., Cs, 12:31): Hi Ron, Thank you for the advice, it's working now! I'll start to construct the loopback version. Cheers, Tibor Herman Tibor Ron Economos ezt írta (időpont: 2022. febr. 10

Re: DVB-T example loopback

2022-02-10 Thread Ron Economos
You just have to match the parameters between the transmit and receive flow graphs. The only difference is that the transmitter is using 64QAM and the receiver is using 16QAM. So you can either change the transmitter to 16QAM or change the receiver to 64QAM.

Re: DVB-T transmit question

2022-01-30 Thread Ron Economos
Seems fine here. Can you try the unmodified example flow graph? The example Transport Stream can be downloaded here: https://www.w6rz.net/adv8dvbt23qam64.ts Also, which version of GNU Radio are you using? Ron On 1/30/22 08:40, Szilassi Andras wrote: Hello, I am currently working on a dvb-t

Re: Problem migrating an OOT module that uses FFT from 3.8 to 3.9

2022-01-29 Thread Ron Economos
Ralf, I'm not sure if you've done this already, but when you use d_fft_calculator, you need to change from -> to . to access it. Ron On 1/29/22 12:24, Ralf Gorholt wrote: Hello all, I am currently trying to migrate an OOT module that uses an FFT object internally from  GNU Radio version

Re: Difficulty in compiling gnuradio from git on opensuse 15.3

2022-01-18 Thread Ron Economos
You probably also need -DCMAKE_CXX_COMPILER=g++-11 on your CMake command line. Ron On 1/18/22 4:39 PM, li...@lazygranch.com wrote: I looked at https://build.opensuse.org/package/show/home:wkazubski:test:science/gnuradio39 I clicked around a bit but I don't know specifically where you get the

Re: OOT Binding problem

2022-01-08 Thread Ron Economos
21 à 12:44, Josh Morman a écrit : Sounds like castxml could be playing a role here.  Along the same lines Ron suggested, you could try installing both pygccxml and castxml from pip3 Josh On Tue, Dec 14, 2021 at 6:23 AM Ron Economos wrote:     I've tried it on both Ubuntu 18.04 and 20.04, so I d

Re: FFT size in QT GUI Freq.Sink

2021-12-31 Thread Ron Economos
The FFT size is 2048. Ron On 12/31/21 2:12 AM, peacockmango lotus wrote: I was learning about the sampling rate by looking into the tutorial provided in the GNURadio wiki URL: https://wiki.gnuradio.org/index.php/Sample_Rate_Tutorial

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

2021-12-23 Thread Ron Economos
ing to the actual input samples values. I did not see anywhere in your code where there is an explicit binding between in and get_inbuf(). I will appreciate it if you can help me here! Thank you! George On Wed, Dec 15, 2021 at 12:32 AM Ron Economos <mailto:w...@comcast.net>> wrot

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

2021-12-22 Thread Ron Economos
orge On Thu, Dec 16, 2021 at 8:14 PM Ron Economos <mailto:w...@comcast.net>> 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 lines of interest. I have looked through links an

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

2021-12-16 Thread Ron Economos
at 8:14 PM Ron Economos <mailto:w...@comcast.net>> 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 lines of interest. I have looked through links and have some questions: Q1

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

2021-12-16 Thread Ron Economos
ex out. Thank you very much! George On Wed, Dec 15, 2021 at 12:32 AM Ron Economos <mailto:w...@comcast.net>> wrote: FFT support is built in to GNU Radio with FFTW. Here's how it's done. First, define it in your foo_impl.h file. The options are fft_complex_fwd, fft_complex_

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

2021-12-14 Thread Ron Economos
FFT support is built in to GNU Radio with FFTW. Here's how it's done. First, define it in your foo_impl.h file. The options are fft_complex_fwd, fft_complex_rev, fft_real_fwd and fft_real_rev. https://github.com/drmpeg/gr-paint/blob/master/lib/paint_bc_impl.h#L25

Re: OOT Binding problem

2021-12-14 Thread Ron Economos
by RaspiOS repo and Pybind11 ? Fabien. Le 14/12/2021 à 11:54, Marcus Müller a écrit : Uh, since bindtool is Python-only, this should really not be platform-dependent. Unless we've got a problem with pygccxml, that is... On 14/12/2021 11.51, Ron Economos wrote: I've never been able to get

Re: OOT Binding problem

2021-12-14 Thread Ron Economos
I've never been able to get gr_modtool bind to work on 32-bit ARM architecture (Ubuntu on a Beagleboard-X15). I get the same error message. Ron On 12/14/21 2:15 AM, Fabien PELLET wrote: Hello, I'm trying to write a simple OOT module. For exemple, I create a module "test" (gr-modtool newmod

Re: Reed-Solomon Decoding (Not for Digital Television)

2021-12-12 Thread Ron Economos
Reed-Solomon predates digital television and is used in many applications. Here's a nice article about Voyager 1. https://destevez.net/2021/12/voyager-1-and-reed-solomon/ The DVB-T Reed-Solomon blocks expose all the parameters, so you can reuse them for whatever block size you'd like. The

[USRP-users] Re: (B210) UHD Error : Exception caught in safe-call

2021-12-06 Thread Ron Economos
It's the family name of the USB3.0 controller on the B210, the CYUSB3014. https://www.cypress.com/documentation/datasheets/cyusb301x-cyusb201x-ez-usb-fx3-superspeed-usb-controller The program is in the directory: /lib/uhd/utils Which is the same directory as uhd_images_downloader.py. Ron On

[USRP-users] Re: (B210) UHD Error : Exception caught in safe-call

2021-12-06 Thread Ron Economos
I've seen this error. I'm able to clear it by running: b2xx_fx3_utils -D This resets the B210 and the next run will download both the firmware and FPGA images. Ron On 12/6/21 7:18 PM, condicionjohnexek...@gmail.com wrote: Both of the power (External and USB) were pulled off that time i

Re: gnuradio compilation and also gr-air-modes issue

2021-11-07 Thread Ron Economos
The error message is due to trying to compile an OOT (gr-air-modes) that's using GNU Radio 3.8 on your install of GNU radio 3.9. There is a branch on gr-air-modes called "gr3.9" that looks like it could work, although the commit messages say "WIP with plenty of untested code". To switch to

Re: Cannot specify link libraries for target "Python::NumPy"

2021-10-29 Thread Ron Economos
e out how to access the core file to find out exactly which program is failing. Chad On 10/28/21 9:10 PM, Ron Economos wrote: If you were trying to build the master branch, then log4cpp is too old on Ubuntu 18.04. Again, you'll need to build it from source. Or, as you've found, switching to

Re: Cannot specify link libraries for target "Python::NumPy"

2021-10-28 Thread Ron Economos
cpp.so. Advice? Thanks again, C On 10/27/21 6:10 PM, Ron Economos wrote: On Ubuntu 18.04, you have to install pybind11 from source. sudo apt-get purge pybind11-dev git clone https://github.com/pybind/pybind11 cd pybind11 git checkout v2.4.3 -b tmp mkdir build cd build cmake -DCMAKE_BUIL

Re: Cannot specify link libraries for target "Python::NumPy"

2021-10-27 Thread Ron Economos
On Ubuntu 18.04, you have to install pybind11 from source. sudo apt-get purge pybind11-dev git clone https://github.com/pybind/pybind11 cd pybind11 git checkout v2.4.3 -b tmp mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF ../ make sudo make install Ron On

[USRP-users] Re: b205 carrier signal

2021-10-25 Thread Ron Economos
32k is too low of a sample rate for the B205. Try something like 1 Msps to 10 Msps. Ron On 10/25/21 7:02 PM, Ernest Poletaev wrote: Hello, I'm trying to get clean carrier signal out of Ettus b205 using GNU Radio (see top screenshot by the link). I have a few boards and TX signal I see on

Re: Help- gr-lora OOT Module failed to install!

2021-10-19 Thread Ron Economos
You need to install liborc. sudo apt-get install liborc-0.4-dev Ron On 10/19/21 6:12 AM, Thangaraj Mukara Dhakshinamoorthy wrote: Hello, My system config: OS: Ubuntu 20.04.3 LTS OS Type: 64-bit RAM: 3.8 GB Processor: Intel Core i5-2450M CPU @2.50GHz x4 UHD version: 3.15.0.0 GNU Radio

Re: Problem building OOTs with GR 3.9.3.0 PPA package

2021-10-15 Thread Ron Economos
I just went through this myself with a user of my OOT's. It's due to a pybind11 version mismatch. The PPA is built with pybind11 v2.5.0 and if your system (such as Ubuntu 20.04) has a different version, you get that import error. You have to build/install pybind11 v2.5.0 on your system to

Re: Releases v3.8.4.0 and v3.9.3.0

2021-10-04 Thread Ron Economos
The segfault also happens on Ubuntu 18.04 and gcc >= 8. It is exposed by these commits. https://github.com/gnuradio/gnuradio/commit/1e661918ad4fd096b2c990354c316602813246c7 https://github.com/gnuradio/gnuradio/commit/9f8ed5bb5decdcc6905e4a8cbd22ac31bca619a7 It appears to be related to the Qt

Re: Releases v3.8.4.0 and v3.9.3.0

2021-10-04 Thread Ron Economos
That's not a boost problem, it's a gcc problem. You have to use at least gcc 8 for v3.9.3.0. Ron On 10/4/21 4:54 AM, Wojciech Kazubski via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: GNU Radio has released v3.8.4.0 and v3.9.3.0, hitting the September target date with

Re: setting gcc compiler in pybombs

2021-08-16 Thread Ron Economos
You can use update-alternatives to select the C/C++ compiler version. First, you set up each version. sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7 --slave /usr/bin/g++ g++ /usr/bin/g++-7 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8 --slave

[USRP-users] Re: B2XX radios don't continue on overflows

2021-08-11 Thread Ron Economos
Here's what's working for me. 1) git clone https://github.com/EttusResearch/uhd.git 2) git checkout v4.0.0.0 -b tmp 3) edit the file host/lib/usrp/cores/rx_vita_core_3000.cpp and apply the one line patch in the correct place (before the comment "// issue the stream command").    

[USRP-users] Re: B2XX radios don't continue on overflows

2021-08-11 Thread Ron Economos
I have a patch that I've tested to work well. In UHD v4.0.0.0, add this line of code: diff --git a/host/lib/usrp/cores/rx_vita_core_3000.cpp b/host/lib/usrp/cores/rx_vita_core_3000.cpp index 4b09f75fd..368ae8e0a 100644 --- a/host/lib/usrp/cores/rx_vita_core_3000.cpp +++

Re: Gnuradio Warning

2021-08-04 Thread Ron Economos
If you're not tied to Wayland, you can go back to X.org in the boot screen (click the "cog" in the lower right hand corner). Ron On 8/4/21 1:09 PM, Vincenzo Mone wrote: Hi to the list, I have a warning in the gnuradio when I run any grc file that says: << Welcome to GNU Radio Companion

Re: Location of configuration files when installing to custom prefix

2021-07-19 Thread Ron Economos
Should be set correctly here: https://github.com/gnuradio/gnuradio/blob/master/CMakeLists.txt#L250 Ron On 7/19/21 3:52 PM, Ron Economos wrote: That's weird. I am not setting -DGR_PREFDIR. Ron On 7/19/21 3:46 PM, wan wrote: Hi Ron, I didnt change the -DGR_PREFDIR flag, so for me it says

Re: Location of configuration files when installing to custom prefix

2021-07-19 Thread Ron Economos
in the prefix directory? On Mon, 19 Jul 2021 at 17:22, Ron Economos <mailto:w...@comcast.net>> wrote: Works okay here. What does gnuradio-config-info --prefsdir say? Ron On 7/19/21 12:53 PM, wan wrote: > Hello, > > According to the following wiki

[USRP-users] Re: Is UHD supposed to keep running after detecting overrun?

2021-07-19 Thread Ron Economos
Yes, B210 here. Ron On 7/19/21 2:19 PM, Marcus D Leech wrote: Ron is that on a B2xx or something else? Sent from my iPhone On Jul 19, 2021, at 4:27 PM, Ron Economos wrote:  I haven't tried the latest UHD version. However, I do have UHD 4.0.0.0 running without stopping with just

Re: Location of configuration files when installing to custom prefix

2021-07-19 Thread Ron Economos
Works okay here. What does gnuradio-config-info --prefsdir say? Ron On 7/19/21 12:53 PM, wan wrote: Hello, According to the following wiki page (https://wiki.gnuradio.org/index.php/Configuration_Files ), gr configuration files should

[USRP-users] Re: Is UHD supposed to keep running after detecting overrun?

2021-07-19 Thread Ron Economos
It is a bug in UHD v4.0.0.0, but it should be fixed in UHD v4.1.0.1 (and UHD v4.1.0.0). Ron On 7/18/21 9:37 PM, wan wrote: Hello, When UHD detects an overrun, is it supposed to keep going or freeze? I'm using an USRP B200mini. I tested it with the rx_ascii_dft and the uhd_fft GRC example

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-27 Thread Ron Economos
For gr-iqlevels, I never completed the QA test. You can make it pass by doing the following. 1) Install the OOT. In the build directory: sudo make install sudo ldconfig 2) Edit gr-iqlevels/python/qa_iqlevels.py. Change line 30 from: instance = iqlevels() to: instance =

Re: gr_3.9 OOT generates strange .so files

2021-06-14 Thread Ron Economos
That's normal operation. The actual file is libgnuradio.grhpsdr.so.e487bf33 and libgnuradio.grhpsdr.so.1.0.0git and libgnuradio.grhpsdr.so are symbolic links. The e487bf33 is the git hash of your last commit. Ron On 6/14/21 10:23 AM, Tom McDermott wrote: I have successfully built my OOT in

Re: Building 3.9.1 and finding SDL2 built with autotools

2021-06-08 Thread Ron Economos
It's not looking for sdl2, it's looking for sdl1.2. If you're using a version of CMake greater than 3.17, you can turn on find_package debugging by adding the following to the cmake invocation: -DCMAKE_FIND_DEBUG_MODE=1 This will give copious output about exactly what and where packages are

Re: issues porting C++ OOT to 3.9 - fails at runtime import

2021-05-08 Thread Ron Economos
Here's a very simple OOT with just one block. https://github.com/drmpeg/gr-iqlevels Ron On 5/8/21 15:26, Tom McDermott wrote: I am continuing to have issues porting my 3.8 code over to 3.9.   (Ubuntu 20.04) By request I've posted the code on github: https://github.com/Tom-McDermott/gr-hpsdr

Re: GNU Radio 3.9 gr_modtool problem

2021-05-05 Thread Ron Economos
I think it may be more insidious. The ~/.gnuradio/config.conf file doesn't necessarily exist, and the default config.conf is in /etc/gnuradio/conf.d But if the install prefix is /usr, then there's some trickery in the top level CMakeLists.txt file. See:

Re: Strange FFT AUDIO

2021-04-19 Thread Ron Economos
The QT GUI Frequency Sink does have a option to hide the other side of the spectrum. When float input is selected, an additional parameter "Spectrum Width" is available. Options are "Full" and "Half". Ron On 4/19/21 12:03, Kevin Reid wrote: On Mon, Apr 19, 2021 at 11:44 AM Alberto

Re: An example of pure C++ code of GNU Radio?

2021-04-19 Thread Ron Economos
https://github.com/csdvb/dvbs2_tx Ron On 4/18/21 20:59, Clark Chiu wrote: Hi all, I went through most of the tutorials of GNU Radio and part of the source code. I understand GNU Radio is composed by Python for the interface and C++ for the DSP block implementations. My question is, is

Re: problem porting OOT to gr_3.9 : gr_modtool bind error

2021-04-10 Thread Ron Economos
clang-format is optional. But you can install it with: sudo apt-get install clang-format As for your primary issue, are you running on an ARM cpu (like RPi4)? I was never able to get binding to work on my armv7 based platform. Ron On 4/10/21 11:24, Tom McDermott wrote: I tried adding a new

[USRP-users] Re: Problem with interfacing Raspberry Pi 4 to USRP B210 with Python API

2021-04-06 Thread Ron Economos
erface with the USRP via the C++ API, which I couldn't do previously. Unfortunately there's still a niggling problem with the Python API (a different one than before), but I will start a new thread to cover that issue. Cheers, Brendan. On Sun, Apr 4, 2021 at 11:53 AM Ron Economos &l

Re: Transport stream source

2021-04-04 Thread Ron Economos
high -level 4.0 -f mpegts -muxrate 16085561 zmq:tcp://10.0.1.116.1234 You have to match the muxrate to your DTV flow graph TS bitrate. Ron On 4/4/21 02:50, Ron Economos wrote: The ZMQ blocks seem to work well. https://wiki.gnuradio.org/index.php/Understanding_ZMQ_Blocks The required IP

[USRP-users] Re: B210 EVM

2021-03-26 Thread Ron Economos
Just a data point. Here's a 256QAM constellation from an Ettus B210. I don't know what the exact EVM percentage is, but the constellation looks pretty good. This is at 429 MHz, 10.721074 Msps and 42.884296 MHz master clock rate with a commercial digital television demodulator evaluation board.

[USRP-users] Re: B210 EVM

2021-03-26 Thread Ron Economos
The B210 is telling you it's sample rate is off frequency. Setting RX Rate:  27648000.000 Sps... [INFO] [B200] Asking for clock rate 27.648000 MHz... [INFO] [B200] Actually got clock rate 27.648000 MHz. Actual RX Rate:  27648000.081 Sps... <- Is your

Re: Compilation of Ron Economos' gr-dvbtx for GNU Radio 3.8 - help needed

2021-03-22 Thread Ron Economos
That's the correct fix for 3.7. The person I originally wrote that module for was running 3.7.9.1, and I added a commit to handle that. https://github.com/drmpeg/gr-dvbtx/commit/dbe40793fea88e2310881582639cb4be60dd926b For 3.8, the module needs to be updated. It takes more than just modifying

Re: how to generate a certain band width white noise

2021-03-21 Thread Ron Economos
This should work better. :-) Ron On 3/21/21 22:03, Ron Economos wrote: It's for 3.9. Let me regenerate it for 3.7. Hang on. Ron On 3/21/21 21:56, james jordan wrote: Hi Ron, i open your file and have this error: Loading: "/home/w/Downloads/whitenoise.grc" Error: /home/w

Re: how to generate a certain band width white noise

2021-03-21 Thread Ron Economos
is the gnuradio version for this grc? <http://aka.ms/weboutlook> ---- *From:* james jordan *Sent:* Monday, March 22, 2021 12:42 PM *To:* Ron Economos ; discuss-gnuradio@gnu.org *Sub

Re: how to generate a certain band width white noise

2021-03-21 Thread Ron Economos
Here's a flow graph that should get you started. The "width" parameter controls the bandwidth of the noise (but can't be greater than the sample rate). It's using a UHD sink block for an Etttus B210. Use a sink block that's appropriate for your hardware. Also, be sure to disable the throttle

Re: raspberry pi + dvb-t2

2021-03-18 Thread Ron Economos
if LDPC has optimizations for ARM archs in libvolk? Arm64 mainly. Thanks, Adrian On March 18, 2021 11:54:42 AM UTC, Ron Economos wrote: I haven't tried it, but it may be possible on a Raspberry Pi 4. I wouldn't bother with anything less than a RPi4. I have successfully run a modified DVB

Re: LimeSDR | Sinewave test | Glitchy behavior

2021-03-18 Thread Ron Economos
You're probably underflowing then (your CPU is not able to deliver enough samples to the LimeSDR sink block). With the FM flow graph, reduce the sweep time on your o-scope to see if you're actually transmitting 100% of the time. Ron On 3/18/21 05:13, Anish Mangal wrote: And, if I try the

Re: raspberry pi + dvb-t2

2021-03-18 Thread Ron Economos
I haven't tried it, but it may be possible on a Raspberry Pi 4. I wouldn't bother with anything less than a RPi4. I have successfully run a modified DVB-T2 flow graph on a Beagleboard-X15, but only at 5 MHz channel width (5.714285 Msps). I've attached the flow graph. It uses short frames and

[USRP-users] Re: import error gnuradio

2021-03-12 Thread Ron Economos
You're probably missing the libsndfile dependency. sudo apt-get install libsndfile1-dev And then rebuild GNU Radio (and OOT's). Ron On 3/12/21 05:49, COURANT Frederique - Contractor via USRP-users wrote: Hi Users, When I try to run my flow graph I have this error : from .blocks_python

Re: Trouble using zmq in oot module blocks

2021-03-09 Thread Ron Economos
You need to add the following to your CMake files. In the top level CMakeLists.txt: Add the line: find_package(Gnuradio COMPONENTS zeromq) after the line: find_package(Gnuradio "3.8" REQUIRED) In lib/CMakeLists.txt: Change the line: target_link_libraries(gnuradio-xxx

Re: reversion to 3.8.2 fails

2021-02-19 Thread Ron Economos
This is just a guess, but you could try deleting: ~/.cache/grc_gnuradio/cache.json Ron On 2/19/21 07:16, Tom McDermott wrote: I removed gnuradio (3.9), changed the PPA to point to gnuradio-release-3.8, updated, and installed. Gnuradio got replaced with 3.8.2.    However all flowgraphs are

Re: Resampling radio data

2021-02-17 Thread Ron Economos
The FFTW threading feature doesn't work all that well. Here's a long dialog about it here. https://github.com/gnuradio/gnuradio/issues/2802 Ron On 2/17/21 11:52, Brian Padalino wrote: On Wed, Feb 17, 2021 at 12:02 PM Marcus Müller > wrote: Hi Brian, On

Re: [USRP-users] B210 NB-IoT frontend issues

2021-02-09 Thread Ron Economos via USRP-users
I can't comment on issue #1, but I do have experience with issue #2. To get a clean output spectrum, you need to do two things. First, the IQ values generated by your application can never exceed +1.0/-1.0 in value. You have to account for the PAPR of your waveform. If you're using GNU

Re: [USRP-users] Failed to compile UHD 3.15 on E310 target

2021-02-06 Thread Ron Economos via USRP-users
You have to specify a NEON architecture during CMake. cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -Wno-psabi" -DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -Wno-psabi"

Re: 3.9 Setup for OOT development

2021-02-04 Thread Ron Economos
If you're converting from GNU Radio 3.7, you can automatically convert your .xml files into .yml files with the command: gr_modtool update --complete Just run it in the old OOT directory and copy over the .yml files to your new OOT. It does a very good (although not always perfect) job of

[PATCH 2/2] Remove Doxygen warnings.

2021-01-28 Thread Ron Economos
Signed-off-by: Ron Economos --- include/osmosdr/source.h | 1 + lib/sink_iface.h | 1 + lib/source_iface.h | 2 ++ python/bindings/python_bindings.cc | 12 ++-- python/bindings/source_python.cc | 2 +- 5 files changed, 11 insertions(+), 7

[PATCH 1/2] Remove CMake warnings.

2021-01-28 Thread Ron Economos
Signed-off-by: Ron Economos --- CMakeLists.txt | 3 ++- cmake/Modules/FindLibAIRSPY.cmake | 6 -- cmake/Modules/FindLibAIRSPYHF.cmake | 6 -- cmake/Modules/FindLibHackRF.cmake | 6 -- lib/CMakeLists.txt | 2 +- 5 files changed, 15 insertions

[PATCH] Remove CMake and build noise.

2021-01-28 Thread Ron Economos
Signed-off-by: Ron Economos --- CMakeLists.txt | 3 ++- cmake/Modules/FindLibAIRSPY.cmake | 6 -- cmake/Modules/FindLibAIRSPYHF.cmake | 6 -- cmake/Modules/FindLibHackRF.cmake | 6 -- include/osmosdr/source.h| 1 + lib/CMakeLists.txt

Re: [PATCH] Remove CMake and build noise.

2021-01-28 Thread Ron Economos
Sorry, there's a mistake. The hash in source_python.cc is incorrect. Ron On 1/28/21 07:55, Ron Economos wrote: Signed-off-by: Ron Economos --- CMakeLists.txt | 3 ++- cmake/Modules/FindLibAIRSPY.cmake | 6 -- cmake/Modules/FindLibAIRSPYHF.cmake | 6

[PATCH] Remove CMake and build noise.

2021-01-28 Thread Ron Economos
Signed-off-by: Ron Economos --- CMakeLists.txt | 3 ++- cmake/Modules/FindLibAIRSPY.cmake | 6 -- cmake/Modules/FindLibAIRSPYHF.cmake | 6 -- cmake/Modules/FindLibHackRF.cmake | 6 -- include/osmosdr/source.h| 1 + lib/CMakeLists.txt

Re: "modules" GMP and MPIR;3.9.0.0

2021-01-27 Thread Ron Economos
his means I actually did find THIRFT? Could NOT find THRIFT (missing: PYTHON_THRIFT_FOUND THRIFT_FOUND) Do these "cancel"? -- Python checking for pygccxml - not found -- Found PythonInterp: /usr/bin/python3 (found version "3.6.12") I don't even see the GMP complaint anymore.

Re: "modules" GMP and MPIR;3.9.0.0

2021-01-27 Thread Ron Economos
You're actually okay. Your version of CMake doesn't seem to print out when it finds modules (which are libraries). On Ubuntu, it looks like this: -- Configuring VOLK support... -- Found Volk: Volk::volk --   Found VOLK: --   * Version: 2.4.1 --   * Libraries: Volk::volk --   * Includes:

gr-paint updated for GNU Radio 3.9

2021-01-22 Thread Ron Economos
Since a lot of folks package gr-paint, I just wanted to inform that it's been updated for the GNU Radio 3.9.0.0 release. https://github.com/drmpeg/gr-paint Previous versions are available on the maint-3.7 and maint-3.8 branches. Ron

Re: Is it time?

2021-01-16 Thread Ron Economos
What's wrong is that GNN != GNU. Ron W6RZ On 1/16/21 15:57, KB3CS - Chris wrote: you know? the top result of a web search "gnuradio donation" provides: *Donations* - GNN Radio https://gnnradio.org

Re: Version info

2021-01-15 Thread Ron Economos
I filed an issue for this. https://github.com/gnuradio/gnuradio/issues/4059 Ron On 1/15/21 08:58, Jeff Long wrote: The v3.8.0.0 part is incorrect, but commit be21c299 shows you built a recent master. There is no 3.9 or 3.10 tag yet, so everything shows up as 3.8. On Fri, Jan 15, 2021 at

Re: Problem with multiple input in Python OOT module

2021-01-11 Thread Ron Economos
The YAML for multiple inputs is: inputs: -   domain: stream     dtype: complex     multiplicity: '3' Ron On 1/11/21 15:15, George Edwards wrote: Hello, I wrote an OOT Python module with multiple inputs and when I run the QA test, it says there is an error in a swig file and throws the

Re: Vector Source and QT GUI Time Sink causes performance drop

2021-01-09 Thread Ron Economos
It's telling you what's wrong. >>> Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion. Add a Throttle block between the Vector Source and QT GUI Time Sink blocks. Ron On 1/9/21

Re: [USRP-users] Transmit underruns

2021-01-06 Thread Ron Economos via USRP-users
It was attached. ssbtested.grc Ron On 1/6/21 09:22, Barry Duggan wrote: Thanks for your reply. Did you forget to give the link to the GRC file? 73, --- Barry Duggan KV4FV https://github.com/duggabe On Tue, 5 Jan 2021 17:33:24 -0800, Ron Economos wrote: Here's an ssb flow graph that's known

Re: [USRP-users] Transmit underruns

2021-01-05 Thread Ron Economos via USRP-users
Here's an ssb flow graph that's known to work. You can select the sideband with the default option of the QT GUI Chooser block before you start the flow graph (you can't change filter taps on the fly). The test file is here. http://www.w6rz.net/ssbaudio.wav Ron On 1/5/21 15:29, Barry Duggan

  1   2   3   4   5   6   >