jetperch / pyjoulescope_ui

Joulescope graphical user interface
https://www.joulescope.com
Apache License 2.0
87 stars 26 forks source link

Auto "play" is not applied when switching between Joulescopes #94

Closed mliberty1 closed 3 years ago

mliberty1 commented 4 years ago

Version: 0.9.2 Platforms: All

Description The Joulescope UI allows switching between multiple Joulescopes using the "Device" menu item. If you have more than one Joulescope attached and switch between them, the UI is "unresponsive".

Expected Behavior The UI should start streaming data from the new device.

Workaround Select Device → Disable before selecting the second Joulescope.

Developer notes Using the Control widget, it is very easy to see the new device does not start streaming. Pressing the "play" button starts streaming. The logs confirm this behavior. The software should respect the Device autostream preference, even when switching from one device to another. I suspect that since the software went directly from one Joulescope to the next without any downtime, it did not recognize that this preference needed to be applied again.

mliberty1 commented 4 years ago

Note: verify that any fix works with at least 12 connected Joulescopes.

mliberty1 commented 4 years ago

Verified with 8 connected Joulescopes.
TODO: spend time to pull together enough Joulescopes and USB ports to test 12.

mliberty1 commented 3 years ago

Fixed in 0.9.3.