Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-11 Thread Marcus D. Leech
On 11/02/12 05:50 AM, Marius wrote: > > I hope it doesn't add any latency to the equation like: RPC command + > UHD command + FPGA reaction + RF frontend. I'm not even sure if using > the C++ API would be any different. So my Monday morning experiment > now is set ;) > > Best, > Marius > > > Wel

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-11 Thread Marius
Hi! On 10 February 2012 18:12, Marcus D. Leech wrote: > Ive used XMLRPC for the same thing and you don't have to worry about > unpacking integers into floating point etc Ah, the XMLRPC block automatically adds callback functions for the variables. That's a great startpoint. Thanks a lot. Now I

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-10 Thread Marcus D. Leech
Ive used XMLRPC for the same thing and you don't have to worry about unpacking integers into floating point etc -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org On Feb 10, 2012, at 10:49 AM, Ed Criscuolo wrote: > On 2/10/12 4:14 AM, Marius Ciepluch wrote:

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-10 Thread Ed Criscuolo
On 2/10/12 4:14 AM, Marius Ciepluch wrote: So if someone knows how I can implement a callback or a polling function to make the device tune for real, but as fast as possible, that'd be very helpful. In the past, I've done external tuning via GRC with the following: Create a variable block (i

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-10 Thread Andrew Davis
http://gnuradio.org/doc/doxygen/classuhd__usrp__sink.html#a279a28c250e2ae657aa9c43b5742c2fa Is the current API, i'm not sure how it gets to python world, but it looks like you can still call it with just the frequency. Also it there any reason your doing this with GRC and not python? On Fri, Fe

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-10 Thread Marius Ciepluch
Hi Andrew, thanks for the reply. I need the RF Frontend to change. I'm doing measurements in order to find out how fast the RF Frontend can tune over more than 25 MHz (on a USRP2). I need some exact data here, e.g. plots. So in fact I want it to tune with no workarounds. And I want to see it tune

Re: [Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-09 Thread Andrew Davis
self.uhd_usrp_sink_0.set_center_freq(self.freq, 0) will take forever, the whole front end has to re-settle. How far are you moving the center frequency? If it's less than 50MHz you could change the sin signal frequency. You could even hook up a Frequency modulator and change the frequency continual

[Discuss-gnuradio] Tune UHD - as fast as possible

2012-02-09 Thread Marius Ciepluch
Hi! I have put a Flow-Graph together, which is quite simple: Sine Signal -> USRP2 UHD Now I want to change the center-frequency as fast as possible. My initial idea was a while True loop and to issue the self.uhd_usrp_sink_0.set_center_freq(self.freq, 0) command from Python. This does not work.