Re: Problem initializing parameters in Gnuradio Python Block?

2021-01-13 Thread George Edwards
Hi Jeff, Thanks for your answer. You are right, it crashes on the second call. So how do I write the program to initialize a bunch of vectors in a "method strictly for initialization" when it first starts running? If this cannot be done, then I guess the only solution is to initialize them in the

Re: Problem initializing parameters in Gnuradio Python Block?

2021-01-13 Thread Jeff Long
'v' is a local variable in work(). It is probably crashing on the second call, where my_init() is not called, and thus there is no 'v'. On Wed, Jan 13, 2021 at 7:38 PM George Edwards wrote: > Hello, > > I am using a Gnuradio Python Block in my GRC signal processing and am > having problems initi

Re: 3.9 Setup for OOT development

2021-01-13 Thread Cinaed Simson
Hi Gavin - you can probably ignore the first error - there are 2 possible entries for multiple precision libraries. And I believe you need pygccxml for OOT development in  3.9 Try   apt install python3-pygccxml you can always uninstall it. Also it appears the you may be trying to use an old

Problem initializing parameters in Gnuradio Python Block?

2021-01-13 Thread George Edwards
Hello, I am using a Gnuradio Python Block in my GRC signal processing and am having problems initializing my parameters. My system has a number of vector parameters to be initialized at startup. I will provide the gist of my goal in a scaled down version of my work. 1. In the def __init__(self, st

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 stream

Re: Help with keyboard input

2021-01-13 Thread Doug McGarrett
On 1/13/21 3:09 PM, Fabian Schwartau wrote: If you can reproduce a failing wired keyboard, check what /var/log/syslog says when it turns off. Use tail -f /var/log/syslog to monitor the output continously. There should be some note on what is going on. A look in the xorg/wayland logs may also h

Re: Help with keyboard input

2021-01-13 Thread Fabian Schwartau
If you can reproduce a failing wired keyboard, check what /var/log/syslog says when it turns off. Use tail -f /var/log/syslog to monitor the output continously. There should be some note on what is going on. A look in the xorg/wayland logs may also help. Am 13.01.21 um 20:03 schrieb Barry Duggan:

Re: Help with keyboard input

2021-01-13 Thread Jeff Long
See if it's this: https://hamwaves.com/usb.autosuspend/en/ On Wed, Jan 13, 2021 at 2:12 PM Barry Duggan wrote: > I know this is not a GNU Radio problem directly, but I hope maybe > someone has some insight into this. > > I have a Lenovo ThinkCentre M75s with a AMD® Ryzen 7 PRO 3700 Processor. >

Help with keyboard input

2021-01-13 Thread Barry Duggan
I know this is not a GNU Radio problem directly, but I hope maybe someone has some insight into this. I have a Lenovo ThinkCentre M75s with a AMD® Ryzen 7 PRO 3700 Processor. I am running Ubuntu 20.04 I am having difficulties with keyboard devices. Only a wired keyboard works reliably. Lenovo

Re: Stop making unneeded improvements

2021-01-13 Thread Marcus D. Leech
On 01/12/2021 02:51 PM, Lamar Owen wrote: I'm trying to debug and patch the UHD stack for USRP1 with DBS-RX daughterboard; it just quit working, and while I've reported to the UHD list no action has been taken to fix the regression. I was able to reproduce the regression issue with DBS-RX on

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

2021-01-13 Thread Marcus Müller
by the way, there's no GNU Radio at all in this profile – are you sure you ran exactly the `perf record -ag python path/to/..` as recommended? On 11.01.21 16:53, Mariusz Pluciński wrote: > Hi, > > Thanks for the hint, I didn't know about this method of profiling :). I > did as you requested and i

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

2021-01-13 Thread Marcus Müller
Well, since it works for every other GNU Radio user: possibly your graphics driver is buggy, or Qt. Hard to tell! On 11.01.21 16:53, Mariusz Pluciński wrote: > Hi, > > Thanks for the hint, I didn't know about this method of profiling :). I > did as you requested and it seems that it spends quite

Re: hwo to convert 3.8 GRC to 3.7

2021-01-13 Thread Marcus Müller
Gotcha! I'm on it; still on my dayjob's lunch break, though. On 13.01.21 13:36, Sylvain Munaut wrote: >> It's usually not that hard to get a modern GNU Radio, so honestly, let's >> rather work on installing GNU Radio 3.8. > > I'd suggest 3.9 directly. > > Cheers, > >Sylvain > smime.p7s

Re: hwo to convert 3.8 GRC to 3.7

2021-01-13 Thread Sylvain Munaut
> It's usually not that hard to get a modern GNU Radio, so honestly, let's > rather work on installing GNU Radio 3.8. I'd suggest 3.9 directly. Cheers, Sylvain

Re: hwo to convert 3.8 GRC to 3.7

2021-01-13 Thread Marcus Müller
Hi james, That's not possible without manually rebuilding it, if all blocks used are even available in 3.7. 3.7 is largely a legacy system, I'd strongly recommend against porting something *back* to it. It's usually not that hard to get a modern GNU Radio, so honestly, let's rather work on insta

hwo to convert 3.8 GRC to 3.7

2021-01-13 Thread james jordan
hi, i have an grc that making using gnuradio 3.8 but my gnuradio is 3.7. install a new version seems difficult for me. so is there any way to convert the grc to 3.7