GNU-Radio Clean Install

2022-12-15 Thread Yotam Rabin
Hi everyone!
I upgraded gnuradio to version 3.10 from 3.8 which seems to have broken
some libraries which I can't uninstall via make because I'm missing swig.
Is there a way to clean install gnuradio without any of the OOT modules?
I tried "apt purge" doesn't seem to solve the problem

Any help would be greatly appreciated
Yotam


A Question About Gnuradio OOT Block Startup, Sleeping the Block

2022-12-15 Thread Brian Brown
Hi!

I am designing a message in-out OOT block that has a similar structure to
the Message Strobe. It is ought to send packets as soon as the Gnuradio
runtime permits. I realized that it is necessary to sleep the block off of
any work for a short period of time to surpass the "block::start();"
initialization. Otherwise, I am assuming, the thread is rushing an output
before the Gnuradio scheduler initialization is settled therefore is
breaking the runtime and forcing an exit. For now I am sleeping the block
to solve the issue for an arbitrary duration, say 1000 ms. I was wondering
if there is a recommended sleep duration, block specific or in general that
is fixed to all blocks or calculable. Or is there a solid work around to
sleeping the thread at all. I have looked for an explanation online and
searched through the archives but could not find an answer. Any help would
be appreciated.

Thanks in advance!
Brian.


Re: A Question About Gnuradio OOT Block Startup, Sleeping the Block

2022-12-15 Thread Jeff Long
If your block is purely a message source, override start() and have it set
an flag, e.g., a pthreads condition or Python threading.Event. The message
generation portion (thread?) of your block should wait on the flag before
sending anything.

Otherwise, you would be sending messages out in response to work() or
handle_msg() calls, which won't happen until the runtime is up and working.

On Thu, Dec 15, 2022 at 7:41 AM Brian Brown <22brianbr...@gmail.com> wrote:

> Hi!
>
> I am designing a message in-out OOT block that has a similar structure to
> the Message Strobe. It is ought to send packets as soon as the Gnuradio
> runtime permits. I realized that it is necessary to sleep the block off of
> any work for a short period of time to surpass the "block::start();"
> initialization. Otherwise, I am assuming, the thread is rushing an output
> before the Gnuradio scheduler initialization is settled therefore is
> breaking the runtime and forcing an exit. For now I am sleeping the block
> to solve the issue for an arbitrary duration, say 1000 ms. I was wondering
> if there is a recommended sleep duration, block specific or in general that
> is fixed to all blocks or calculable. Or is there a solid work around to
> sleeping the thread at all. I have looked for an explanation online and
> searched through the archives but could not find an answer. Any help would
> be appreciated.
>
> Thanks in advance!
> Brian.
>


HDLC block producing false packets

2022-12-15 Thread Moses Browne Mwakyanjala
Hi everyone,
I was using the HDLC block to receive AX25 packets of satellite signals. I
noticed that the block can sometimes produce packets that are gibberish.
This sounds very unlikely considering the CRC check in the block. Has
anyone experienced this problem?

Regards,
Moses.


Re: HDLC block producing false packets

2022-12-15 Thread Daniel Estévez

On 15/12/2022 20:46, Moses Browne Mwakyanjala wrote:

Hi everyone,
I was using the HDLC block to receive AX25 packets of satellite signals. 
I noticed that the block can sometimes produce packets that are 
gibberish. This sounds very unlikely considering the CRC check in the 
block. Has anyone experienced this problem?


Hi Moses,

The CRC is just a CRC-16, so getting false packets on a random input is 
relatively likely. I've seen this plenty of times with gr-satellites.


Best,
Daniel.




OpenPGP_signature
Description: OpenPGP digital signature


Re: GNU-Radio Clean Install

2022-12-15 Thread Cinaed Simson
Hi Yotam - please state your OS and version, how gnuradio was installed, 
i.e., from source code or using apt, and which libaries are broken.


Also, did you upgrade your OS before installing 3.10?

-- Cinaed

On 12/15/22 03:25, Yotam Rabin wrote:

Hi everyone!
I upgraded gnuradio to version 3.10 from 3.8 which seems to have 
broken some libraries which I can't uninstall via make because I'm 
missing swig.

Is there a way to clean install gnuradio without any of the OOT modules?
I tried "apt purge" doesn't seem to solve the problem

Any help would be greatly appreciated
Yotam





what is gateway.py

2022-12-15 Thread Elmore Family
I am attempting to run a flowgraph that has a button. When the button is 
pressed, I get an error stating that ‘gateway.py has no attribute 
set_ft8button’ which is the callback for the button pressed.

What is gateway.py and why is it being called? The only results I get in a 
search for gateway.py relate to the Gateway class in Python that appears 
related to an interface of some sort. I am not using anything like this.

Thus, how can I correct this error?

Jim

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com