gr-soapy mishandles hackrf on flowgraph exit

2022-04-16 Thread Gavin Jacobs
I had previously thought that there was an issue with the save/restore of the geometry of the QT window, but I determined that it was a problem when using the gr-soapy block with a hackrf, so I have started a new thread. If I make a flowgraph using the "Soapy hackrf source" (i.e. gr-soapy block

Re: Options - QT GUI window size and placement

2022-04-14 Thread Gavin Jacobs
not a functionality of GNU Radio itself (at least we don't have any calls to the Qt-typical "saveGeometry"/"restoreGeometry" in our source code); it must be your window manager? So, I sadly can't advise on how to achieve that, sorry. Best, Marcus On 13.04.22 18:50, Gavin Jacob

Options - QT GUI window size and placement

2022-04-13 Thread Gavin Jacobs
I recently built a laptop with Ubuntu 20.04 and then built gnuradio 3.10.2 from source. I noticed that the Hackrf is now supported through the SoapySDR source/sink blocks (rather than the Osmocom blocks), so I made some examples & tests of hackrf rx and tx. Works fine, but I have a question.

Re: Install 3.9 on Ubuntu 21.04 - prefix & PYTHONPATH

2021-12-07 Thread Gavin Jacobs
/python3/dist-packages If I am working remotely via xrdp, then I have to put those lines in /etc/xrdp/startwm.sh Gavin From: Gavin Jacobs Should the install of the binary package setup the prefix/PYTHONPATH/LDLIBRARY environment variables? What should the environment

Install 3.9 on Ubuntu 21.04 - prefix & PYTHONPATH

2021-12-07 Thread Gavin Jacobs
I have a laptop computer with a fresh installation of Ubuntu desktop 21.04. I add the ppa and installed gnuradio; I got version 3.9.2.0 (Python 3.9.5). It runs fine from the GUI and the Terminal. Then I built a custom OOT block that I had written a year ago called Stream.Select - I can build it

Re: Working Narrowband FM examples?

2021-08-03 Thread Gavin Jacobs
Nathan, Look on this page: https://wiki.gnuradio.org/index.php/Talk:HamRadio Scroll down to: Saturday 12 December 2020 16:00 UTC There you will find links to a flowgraph for narrowband FM on a HackRf. Jake Date: Mon, 2 Aug 2021 23:40:41 -0700 From: Nathan Van

Re: 3.9 Setup for OOT development

2021-02-05 Thread Gavin Jacobs
As promised, here is a link to the source for a simple OOT module/block that works on GNU Radio 3.9. The code shows how to handle variable # of inputs, and how to setup a callback when a parameter changes during runtime. You can find the block at: https://github.com/eejake52/gr-stream There is

Re: 3.9 Setup for OOT development

2021-02-04 Thread Gavin Jacobs
I made some progress on this and now I have my OOT module/block working on Ubuntu 20.4, GNU Radio 3.9, written in C++, with callbacks and variable # of inputs. There are two key things to report. First is the workflow. None of the tutorials on the wiki (that I found) were complete, but

Re: New Raspberry PI Complete OS release

2021-02-03 Thread Gavin Jacobs
Glen, I'm going through a pain similar to yours. For working examples, you can look at the source for the blocks that are part of GNU Radio. For example, the Multiply Constant block shows how to do a callback, and the Add block shows how to do variable number of inputs. Unfortunately, these

Re: How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread Gavin Jacobs
In 3.7, you would use the tag, but in 3.8 the trick to setting multiple ins/outs in the YML file, is the keyword "multiplicity". You can see the details of how to configure here: https://wiki.gnuradio.org/index.php/YAML_GRC YAML GRC - GNU Radio

cmake doesn't like xrdp

2021-01-29 Thread Gavin Jacobs
For two weeks I have been trying to build a new module/block on 3.9 without much success. You can see some of the pain here: https://lists.gnu.org/archive/html/discuss-gnuradio/2021-01/msg00073.html I finally discovered the cause of the problem and a workaround. If you are running a remote

Re: [announcement] Release 3.9.0.0

2021-01-27 Thread Gavin Jacobs
you have a stable version 3.9.0.0 -- Barry Duggan KV4FV https://github.com/duggabe On Wed, 20 Jan 2021 23:31:38 +, Gavin Jacobs wrote: Will the 3.9.0.0 release be available via: $ sudo add-apt-repository ppa:gnuradio/gnuradio-releases If so, what is the expected timeframe? If not, can someon

Re: 3.9 Setup for OOT development

2021-01-23 Thread Gavin Jacobs
@Criss Swaim - you were partly right. The problem was in the yml file, but not because I skipped that makeyaml step. The 'gr_modtool add' step provides a template yml file, which is a better starting point than the output of 'gr_modtool makeyaml'. The output of the

3.9 Setup for OOT development

2021-01-22 Thread Gavin Jacobs
You may recall that I was asking about gr_modtool a week ago. I've made some progress and I think I'm very close to making my block work. I'm using Ubuntu Desktop 20.04 in a Virtual Machine, with GNU Radio 3.9.0.0git~master~14059~focal. Here is what I've learned so far: packages needed: git

RE: [announcement] Release 3.9.0.0

2021-01-20 Thread Gavin Jacobs
Will the 3.9.0.0 release be available via: $ sudo add-apt-repository ppa:gnuradio/gnuradio-releases If so, what is the expected timeframe? If not, can someone give the right procedure to install on Ubuntu? Thanks, Gavin From: Marcus Müller Subject: [announcement] Release 3.9.0.0 Date: Sun, 17

Re: 3.9 Setup for OOT development

2021-01-14 Thread Gavin Jacobs
le? -- Cinaed On 1/13/21 12:32 PM, Gavin Jacobs wrote: > CMake Error in lib/CMakeLists.txt: > Imported target "gnuradio::gnuradio-runtime" includes non-existent path > "/include" > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

3.9 Setup for OOT development

2021-01-13 Thread Gavin Jacobs
I am planning to update an OOT module I wrote 4 years ago. I setup a laptop with a fresh install of Ubuntu 20.04 to use for development. I installed GNU Radio 3.8, but then I decided to go with 3.9, so I removed 3.8, and installed 3.9 from the PPA. Then I ran modtool newmod streamx ... cd

Amateur Radio & GNU Radio

2020-11-09 Thread Gavin Jacobs
Thanks to the organizers of the Zoom meeting held on Saturday. On your page https://wiki.gnuradio.org/index.php/HamRadio you mention Transmit / Receive Station Control TBD. I volunteer to do a presentation at a future meeting and describe how I do that on my Hackrf with GnuRadio. I couldn't

Re: [Discuss-gnuradio] Hackrf Source/Sink Combo

2017-12-14 Thread Gavin Jacobs
@Cinaed, Thanks for that advice. In fact I do use the last 8 digits of the S/N, and it does find the device, and the simple situations work fine, but my question was about gnuradio OOT architecture. Specifically, for a new OOT block, I would like to know if there is any constraint concerning

[Discuss-gnuradio] Hackrf Source/Sink Combo

2017-12-13 Thread Gavin Jacobs
I have a HackRF One and I have been using the Osmocom Source/Sink blocks to access it. In the Device arguments I put this: hackrf=0 I have also used the Osmocom Source/Sink blocks with the Soapy/Hackrf driver when I need to transmit and receive in the same flow graph. To use the soapy driver,

[Discuss-gnuradio] GRC 3.7.11 on Windows crashes python.exe

2017-04-15 Thread Gavin Jacobs
I have a hackrf-one working fine on Windows 10 with GRC 3.7.11, so it should be possible. Here are some things to try: 1) Open a windows command prompt, navigate to C:\Program Files\GNURadio-3.7\bin then run hackrf_info . You should see some information about your hackrf (serial # etc.) 2)

[Discuss-gnuradio] Block Thread question

2016-10-04 Thread Gavin Jacobs
I am writing a block which takes a PDU input and produces a stream output. I used a source block template with zero stream inputs, one message input, and one stream output. I have implemented a message handler and I can see my messages are being received. I need to pass data from the PDU

Re: [Discuss-gnuradio] Module development and debugging

2016-10-03 Thread Gavin Jacobs
ts applied to both ins and outs. Eventually you can find this in the docs and examples, but even then it is not obvious. ____ From: Gavin Jacobs <apriljunk...@hotmail.com> Sent: September 21, 2016 10:07 AM To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-

Re: [Discuss-gnuradio] Module development and debugging

2016-09-21 Thread Gavin Jacobs
Martin, Thanks for those tips. A few follow-up points below. Are you saying that on the same file, it gives non-deterministic results? If so, that might be a bug in the file, but could also be in GNU Radio. There are rumours that there's a randomness bug in the scheduler, but it's hard to

[Discuss-gnuradio] Module development and debugging

2016-09-19 Thread Gavin Jacobs
Further to some suggestions here a few months ago, I've switched gnuradio from my Windows laptop to a dedicated desktop computer running Ubuntu. It is setup in the attic with the receivers and antenna. I use my laptop and Remote Desktop Connection to run the desktop in a 'headless' fashion. So

Re: [Discuss-gnuradio] Transmitter Control

2016-09-09 Thread Gavin Jacobs
Sorry if this is a triplicate- I can't figure out why it didn't go through the list yesterday and the day before, so I'm re-sending. Transmitter Control I am working on a flow graph to send APRS packets. I have made good progress from the UDP source up to the GR-OSMOSDR sink, but I am a bit

[Discuss-gnuradio] Fw: Fw: Signal Source - frequency control

2016-09-06 Thread Gavin Jacobs
a comment to that effect, or better would be to automatically set the class name to match the block ID. Hopefully this post will save someone some time. From: Kevin Reid <kpreid.switchb@gmail.com> on behalf of Kevin Reid <kpr...@switchb.org> Sent:

[Discuss-gnuradio] Fw: Signal Source - frequency control

2016-09-05 Thread Gavin Jacobs
chb@gmail.com> on behalf of Kevin Reid <kpr...@switchb.org> Sent: September 4, 2016 12:38 PM To: Gavin Jacobs Cc: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Signal Source - frequency control On Sun, Sep 4, 2016 at 9:48 AM, Gavin Jacobs <apriljunk...@hotmail.com&l

[Discuss-gnuradio] Signal Source - frequency control

2016-09-04 Thread Gavin Jacobs
I am building an application to send an APRS message. I have GRC 3.7.9.2 running on Windows 10, with a Hackrf as the radio. I have a kluge to transform the bits into an audio signal at 2200 Hz for a 0, and 1200 Hz for a 1. See the attached. But, on the Signal Source block, on the left hand

[Discuss-gnuradio] OOT Block on Windows - barely feasible

2016-07-07 Thread Gavin Jacobs
You may recall that I asked if it was feasible to build an OOT module/block for GRC on Windows. To answer my own question, it is barely feasible. The folks who created the windows binary package cleared the path through the jungle, but they left a lot of breadcrumbs in the resulting build. If

Re: [Discuss-gnuradio] installing gnuradio on Windows

2016-07-06 Thread Gavin Jacobs
Mostafa, Those scripts are torturous. You can now download pre-built gnuradio for windows here: http://www.gcndevelopment.com/gnuradio/downloads.htm i am using those binaries on Windows 10 (64bit) and I can run GnuRadio Companion and GQRX. So far I have not been able to create a new OOT module.

[Discuss-gnuradio] OOT Block on Windows feasible?

2016-06-25 Thread Gavin Jacobs
I recently installed GNU Radio 3.7 on my Windows 10 laptop. I have been familiarizing myself by building the example ADSB application in GNU Radio Companion. Learned lots, but now I want to build my own blocks. I have searched and found almost nothing on the topic of writing GRC blocks in a