Hi I am using an x410, and running through the init_gain_block example,   using 
the high resolution timer I am getting these results, which seem really slow, 
is there a faster way to read/write registers?

Time 481.835 micro seconds.
Gain value read/write loopback successful!

Here is the code.

    t1 = high_resolution_clock::now();
    gain_block->set_gain_value(new_gain_value);
    const uint32_t gain_value_read = gain_block->get_gain_value();
    t2 = high_resolution_clock::now();

    delta_time = duration_cast<duration<double>>(t2-t1);
    std::cout << std::flush ;//<< std::endl;
    std::cout << "Time " << delta_time.count()*1000000.0 << " micro seconds." 
<< std::endl;
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to