I suspect the register property part is for Gnuradio to call that function 
since it sets the result of the peek to the _test_reg property, and that 
property is declared as:\
*`property_t<int> _test_reg{"test_reg", REG_TEST_DEFAULT, 
{res_source_info::USER}};`*

Then on the gnuradio code part, I use “test_reg” with the get_int_property:\
\
`callbacks:`

`   set_int_property('user_reg', ${user_reg})`

`   get_int_property('test_reg')`

I get the correct value that way, but just one time. 

As you said, I think it is better to get it to work first in UHD (as the 
example, but getting the value updated continuously) and then go back to 
gnuradio. 

I will go back again if I discover something new. Thanks again!
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to