Re: [USRP-users] Simple device question

2017-09-13 Thread Marcus Müller via USRP-users
Hi Robin, The property tree is the abstraction here; you can query it! Alos, instead of walking the parsed output of some UHD utility, I'd recommend you just directly query the USRP in the C++/C/Python... directly, using UHD. > I have noticed that IQ will stream from unpopulated daughtercard >

Re: [USRP-users] Simple device question

2017-09-13 Thread ROBIN TORTORA via USRP-users
OK, I can walk the tree and map channels to populated slots based on the name, assuming Unknown is an unpopulated slot... Would be nice to have a better abstraction there... I have noticed that IQ will stream from unpopulated daughtercard slots... Is this expected? In testing my app I have

Re: [USRP-users] Simple device question

2017-09-13 Thread Marcus Müller via USRP-users
I'd actually recommend doing `uhd_usrp_probe --tree` and figure out which value you need from that. We don't actually guarantee the stability of the output of the plain-text uhd_usrp_probe. Best regards, Marcus On 09/13/2017 10:01 PM, Marcus D. Leech via USRP-users wrote: > > You could run uhd_u

Re: [USRP-users] Simple device question

2017-09-13 Thread Marcus D. Leech via USRP-users
You could run uhd_usrp_probe and parse the output. On 2017-09-13 15:30, ROBIN TORTORA via USRP-users wrote: > Peeps, > > I have an X310 on windows with 3.10.2 and a single UBX daughtercard. > > get_rx_num_channels always returns 2 even though there is only a single > daughtercard installed.

[USRP-users] Simple device question

2017-09-13 Thread ROBIN TORTORA via USRP-users
Peeps, I have an X310 on windows with 3.10.2 and a single UBX daughtercard. get_rx_num_channels always returns 2 even though there is only a single daughtercard installed. I am guessing this is really returning the number of DDCs present? Is there a simple way to get the number of actual c