discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Question over the Silder in GRC


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Question over the Silder in GRC
Date: Thu, 10 Oct 2013 18:42:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Trying to figure that out, I went and had a look at the source code of the wxgui slider.
In fact, it had a demo mode that could be accessed when just calling the python file as main:
$python gr-wxgui/python/wxgui/slider.py
However, that was broken, so I fixed it; pull request against master has been sent.

Using the repaired demo I was able to find out that intermediate values are given at random intermediate points, so changing a slider from its minimum to its maximum as fast as possible yields a (seemingly) random selection of values in between.

Greetings,
Marcus

On 10/10/2013 03:53 PM, Baokun Liu wrote:
Thanks, Martin.
 
In fact, the event would be triggered as imagined. I want to know whether each in-between value during moving the slider would be sent to USRP, and the USRP would react to each value? Does the value have to hold on for some time before the event is triggered?
 
Thanks,
 
Baokun


On Thu, Oct 10, 2013 at 4:03 AM, Martin Braun (CEL) <address@hidden> wrote:
On Wed, Oct 09, 2013 at 05:15:04PM -0400, Baokun Liu wrote:
> Hi all,
>
> I am using USRP N210 and GRC. I have a question over changing a USRP
> parameter using a slider in GRC.
>
> If I want to change the TX frequency from 2GHz to 4GHz using a slider, as
> we know, during this process, the slider would experience many in-between
> values, such as 2.1, 3, 3.55, 3.888 and so on, how USRP would react to
> these in-between values? Is there some mechanism to prevent the USRP
> from overloaded if I move the slider very fast? Should the slider value
> hold on for some time before sending the value to USRP?

Hi Baokun,

haven't checked this, but are you sure the event doesn't get triggered
once you let go of the slider? At least that's what I thought would
happen.

MB

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]