[USRP-users] Re: E312 died

2021-05-25 Thread Cédric Hannotier via USRP-users
Hi Marcus, On 21/05/21 15:42, Cédric Hannotier via USRP-users wrote: > On 21/05/21 09:00, Marcus D Leech wrote: > > Have you tried disconnecting the batteries to see if it will start without > > them? > I did not. I would have to unscrew and open the enclosure. > And since I do not know the polic

[USRP-users] tune speed

2021-05-25 Thread Андрей А via USRP-users
Hello I want to use the X300 to get a wide spectral panorama but got a slow speed. Than I compared tune speed X300 with B200mini and got that the first loses almost twice. Is there correct? Which board allows synthesizer tunes in less than 10ms? Source code and terminal screenshots in attachments.

[USRP-users] Re: tune speed

2021-05-25 Thread Marcus Müller
Hello! All daughteboards for the X310, as far as I know, allow for much, much faster tuning times than 10 ms. This is not true for the B200mini, on which large tuning steps can take very long. Are you using timed commands correctly? How are you measuring the tuning time? Best regards, Marcus

[USRP-users] Re: tune speed

2021-05-25 Thread Marcus Müller
I didn't get your code, sorry. Maybe you can describe how you're measuring tuning speed? Do you have some external meter, or do you observe the TX frequency on your RX using the same USRP? Best regards, Marcus DISCLAIMER: Any attached Code is provided As Is. It has not been tested or validated

[USRP-users] Re: tune speed

2021-05-25 Thread Андрей А via USRP-users
#include #include #include #define SR 25 #define BW 20 #define MHzToHz 1e+6 uint64_t get_posix_clock_time () { struct timespec ts; if (clock_gettime (CLOCK_MONOTONIC, &ts) == 0) return (uint64_t) (ts.tv_sec * 100 + ts.tv_nsec / 1000); else return 0; } uhd_error createLockedSensor(uhd_usrp_h

[USRP-users] Re: tune speed

2021-05-25 Thread Андрей А via USRP-users
#include #include #include #define SR 25 #define BW 20 #define MHzToHz 1e+6 uint64_t get_posix_clock_time () { struct timespec ts; if (clock_gettime (CLOCK_MONOTONIC, &ts) == 0) return (uint64_t) (ts.tv_sec * 100 + ts.tv_nsec / 1000); else return 0; } uhd_erro

[USRP-users] Re: tune speed

2021-05-25 Thread Marcus Müller
Hi, sadly, your approach can't be used to measure tuning time: querying the sensor is much slower than the tuning is. You're sampling the speed at which you can *ask* the device whether its LO is locked, not the actual tuning time. If you want to measure the tuning times, I'd recommend doing so