Re: USRP LO stabilization time ?

2020-04-14 Thread Sebastian Sahlin
Hi, I believe the following paper may be of interest: https://pubs.gnuradio.org/index.php/grcon/article/view/2 It is indicated that the B210 needs around 3.3 milliseconds minimum to settle and it is, as you say, due to the hardware frontend. What is causing the extra delay I can only guess but pe

Re: [Discuss-gnuradio] extract value of signal

2019-06-17 Thread Sebastian Sahlin
Hi Jafar, You need to be more specific. What type of value are you talking about, frequency, phase, magnitude..? Regards Den mån 17 juni 2019 kl 12:11 skrev jafar jafari : > hi > how can i extract value of signal in gnuradio companion and use them in my > python code > > ___

[Discuss-gnuradio] USRP dsp_freq request using stream tags [Python]

2019-06-07 Thread Sebastian Sahlin
Hi, I am unsure whether this question fits in this mailing list or the USRP mailing list but it concerns stream tags so here goes.. I'd like to tune the USRP using a DSP offset without touching the LO frequency. I'd like to do this using stream tags since it's important that the re-tune is synchr

Re: [Discuss-gnuradio] AttributeError: No constructor defined for tagged_stream_block (Python)

2019-05-28 Thread Sebastian Sahlin
> But you're free to do that in any block you desire, so you can write a > normal sync block and just always consume all input :) > On Tue, 2019-05-28 at 16:26 +0200, Sebastian Sahlin wrote: > > Hi, > > > > I suppose not - I just figured that using a tagged stream bloc

Re: [Discuss-gnuradio] AttributeError: No constructor defined for tagged_stream_block (Python)

2019-05-28 Thread Sebastian Sahlin
Block itself, right? > On Tue, 2019-05-28 at 16:14 +0200, Sebastian Sahlin wrote: > > Hi Marcus, > > > > Aha, that explains it.. bummer! Perhaps you could advise me on an > alternative solution to my problem. What I am trying to achieve with the > tagged stream block is to ap

Re: [Discuss-gnuradio] AttributeError: No constructor defined for tagged_stream_block (Python)

2019-05-28 Thread Sebastian Sahlin
irst I write something, and > then you find a glaring counterexample); in fact, there's not a single > test case for that in the main GNU Radio tree, which probably means > "no". > > Best regards, > Marcus > > On Tue, 2019-05-28 at 14:41 +0200, Sebastian Sahl

[Discuss-gnuradio] AttributeError: No constructor defined for tagged_stream_block (Python)

2019-05-28 Thread Sebastian Sahlin
Hi, I'm attempting to create a tagged stream block in Python using the following constructor: class test_tagged_stream(gr.tagged_stream_block): def __init__(self, test_param): gr.tagged_stream_block.__init__(self, name="test_tagged_stream", in_sig=[numpy.compl

Re: [Discuss-gnuradio] Issue with the Message API in Python

2019-05-26 Thread Sebastian Sahlin
entation: > > > > https://www.gnuradio.org/doc/doxygen/classgr_1_1block.html#a7f58745d1374b30a7b866406dc97850f > > Best regards, > Marcus > On Fri, 2019-05-24 at 15:53 +0200, Sebastian Sahlin wrote: > > Okay, this appears to work: > > > > def start(self): &g

Re: [Discuss-gnuradio] Issue with the Message API in Python

2019-05-24 Thread Sebastian Sahlin
more info about this? Regards Den fre 24 maj 2019 kl 14:45 skrev Sebastian Sahlin : > Hi Marcus, > > Aha! I saw hints of this in the documentation but couldn't fully connect > the dots. > > Would this be the start() function of top_block, or the block in question? >

Re: [Discuss-gnuradio] Issue with the Message API in Python

2019-05-24 Thread Sebastian Sahlin
n a constructor. Spawn off a thread in the > `start()` method to do that. > > Best regards, > Marcus > > On Thu, 2019-05-23 at 17:42 +0200, Sebastian Sahlin wrote: > > Hi, > > > > For learning purposes I'm trying to replicate the functionality of the > Mes

[Discuss-gnuradio] Issue with the Message API in Python

2019-05-23 Thread Sebastian Sahlin
Hi, For learning purposes I'm trying to replicate the functionality of the Message Strobe block in Python, however I'm stumped by what should be a very basic function. I'm simply attempting to publish a message every x seconds: def __init__(self, period): gr.basic_block.__init__(self,

Re: [Discuss-gnuradio] gr_modtool error when attempting to create Python tagged_stream block

2019-05-20 Thread Sebastian Sahlin
s still a > cool tool, if you need to work with a prefix for embedded development. > > No, that issue being raised for 3.8 is not sufficient, because there's > significant difference between the templates for these versions. > > Cheers, > Marcus > > On Fri, 2019-05-17 at 1

[Discuss-gnuradio] gr_modtool error when attempting to create Python tagged_stream block

2019-05-17 Thread Sebastian Sahlin
Hi, I get the following output when trying to create a tagged stream block with the modtool using Python as the language: https://pastebin.com/D6gKJ2aS GNURadio and gr_modtool version is the latest as installed with pybombs. Regards, Sebastian ___ Disc