Bug 1005 - blocking sample download from capture device, stalls the GUI
Summary: blocking sample download from capture device, stalls the GUI
Status: RESOLVED FIXED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: asix-sigma (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-03 19:35 CEST by Gerhard Sittig
Modified: 2020-06-01 17:21 CEST (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2017-08-03 19:35:02 CEST
The asix-sigma driver stalls the GUI when sigma_receive_data() determines that 
acquisition has or needs to be terminated, descends into download_capture(), 
and insists in retrieving all of the data in that very receive call, without 
returning to the main loop.  This gets worse with the slow USB transfer rate 
of the Sigma hardware and the huge sample memory of the device, which can 
result in several seconds of download time.

It's to get determined whether and how the sample download can get arranged 
such that USB communication can run in background and the GUI can process 
the data that was retrieved so far.
Comment 1 Uwe Hermann 2020-06-01 17:21:34 CEST
Fixed in debe1ff66d6567f0733e74fefc185437e67a7ce2, thanks!