analogdevicesinc / iio-oscilloscope

A GTK+ based oscilloscope application for interfacing with various IIO devices

Home Page:https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Look up devices by ID and not by name

dNechita opened this issue · comments

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.

Also see:
https://ez.analog.com/sw-interface-tools/f/q-a/519863/iio-oscilloscope-plot-channel-display-issue-with-multiple-ad4020-devices

could do the same by label - I can bump this up on the libiio list if you need.

I think the ID is sufficient.