microscope-cockpit / cockpit

Cockpit is a microscope graphical user interface. It is a flexible and easy to extend platform aimed at life scientists using bespoke microscopes.
https://microscope-cockpit.org
GNU General Public License v3.0
37 stars 27 forks source link

Lag in status bar with slow image transfer. #879

Closed iandobbie closed 1 year ago

iandobbie commented 1 year ago

On my raspberry Pi (originally a B+, now a 2B+ and I just ordered a 4) the image capture and transfer is very slow. Restricting the ROI doesn't speed up the capture, presumably the system captures the whole image then throws away the bit you dont want. This slow speed is so severe that a) The executor device times out, the timeout is set to 6s b) There is a massive lag between triggering acquisition and the images arriving. The GUI status line goes capture 0/3 images, 1/3 images then vanishes as the DSP (red Pitaya actually) returns Done and so the update thread is killed. The system slowly catches the next couple of frames and write the output file, but there is no feedback except that images arriving in the camera view window.

I don't think this is worth fixing, just adding it so we have a record of the issue.