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 only 1 card per x310, yet I got 2x100 MSA streams from a single device... > On September 13, 2017 at 4:55 PM Marcus Müller via USRP-users > <usrp-users@lists.ettus.com> wrote: > > > 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_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. > > > > > > > > > > > > I am guessing this is really returning the number of DDCs > > > present? > > > > > > > > > > > > Is there a simple way to get the number of actual channels > > > present a la the number of daughtercards, etc.? > > > > > > > > > > > > I am building a flexible data recorder and would like to to > > > be able to adapt to different daughtercard configurations, so polling the > > > device to get its configuration at runtime is important... > > > > > > > > > > > > Thanks, > > > > > > > > > _______________________________________________ > > > USRP-users mailing list > > > USRP-users@lists.ettus.com mailto:USRP-users@lists.ettus.com > > > > > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > > > > > > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com mailto:USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com