Look up devices by ID and not by name
dNechita opened this issue · comments
Dan Nechita commented
When constructing the devices and channels tree in 'Capture Window', lookup for devices by ID and not by name. This prevents issues in scenarios where multiple devices exist and have the same name.
Otherwise all channels from all devices will be placed under the first device leaving the rest of devices with no channels.
Robin Getz commented
could do the same by label - I can bump this up on the libiio list if you need.
Dan Nechita commented
I think the ID is sufficient.