...@gmail.com]
Sent: 15 March 2016 20:12
To: Yan Huang
Cc: Martin Braun; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
I know I had some problems with older versions of GNU Radio with Python block
and message ports breaking my flowgraph. I don
rt_pub(pmt.intern('sync'),
> pmt.cons(pmt.intern("freq"), pmt.to_pmt(self.freq)))
>
> self.freq += self.step
>
>
>
> ###
>
>
>
> Cheers,
>
> Timothée.
>
>
>
> 2016-03-15 16:52 GMT+01:00 Yan Huang :
>
> Hi Timothée,
&g
Many thanks,
Yan
From: Timothée COCAULT [mailto:timothee.coca...@gmail.com]
Sent: 15 March 2016 16:24
To: Yan Huang
Cc: Martin Braun; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
The easiest way would be to create a simple Python bl
thée COCAULT [mailto:timothee.coca...@gmail.com]
> *Sent:* 15 March 2016 15:44
> *To:* Yan Huang
> *Cc:* Martin Braun; discuss-gnuradio@gnu.org
>
> *Subject:* Re: [Discuss-gnuradio] Change frequency in USRP source
> automatically
>
>
>
> Hi Yan,
>
>
>
>
Cc: Martin Braun; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
Hi Yan,
You should only pass only one value in the second member. Try :
pmt.cons(pmt.intern("freq"), pmt.to_pmt(2.4e9))
Cheers,
Timothée.
2016-03-15 12:14 GMT
ve me an exmaple about it?
> >
> > Thank you a lot,
> >
> > Yan
> >
> > From: discuss-gnuradio-bounces+eexyh22=nottingham.ac...@gnu.org
> > [discuss-gnuradio-bounces+eexyh22=nottingham.ac...@gnu.org] on behalf
> >
n
Sent: 15 March 2016 00:43
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
Yan,
simply convert "freq" and your frequency to a PMT before passing into cons().
Cheers,
Martin
On 03/14/2016 03:44 PM, Yan Huang wrote:
> Hi Mar
=nottingham.ac...@gnu.org] on behalf of
> Martin Braun [martin.br...@ettus.com]
> Sent: 14 March 2016 17:18
> To: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
>
> Yan,
>
> check the PMT manuals. cons() takes 2 PMTs as
2=nottingham.ac...@gnu.org
[discuss-gnuradio-bounces+eexyh22=nottingham.ac...@gnu.org] on behalf of Martin
Braun [martin.br...@ettus.com]
Sent: 14 March 2016 17:18
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Change frequency in USRP source automatically
Yan,
check the PMT manuals. cons()
Yan,
check the PMT manuals. cons() takes 2 PMTs as input.
Cheers,
Martin
On 03/14/2016 09:09 AM, Yan Huang wrote:
> Hi all,
>
>
>
> I want to change the frequency in “USRP source” automatically, for
> example 2.37GHz-2.43GHz with each time stepping 2MHz.
>
>
>
> 1. As you know, the USRP
Hi all,
I want to change the frequency in "USRP source" automatically, for example
2.37GHz-2.43GHz with each time stepping 2MHz.
1. As you know, the USRP source has an input message port, so I want to connect
it to a "Message strobe" to control the frequency change. But after I see
[1][2], I
11 matches
Mail list logo