seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

Allow starting/stopping write to file at runtime #54

Closed bgottula closed 3 years ago

bgottula commented 3 years ago

In some situations it would be convenient to start the program without writing to disk for a while just to see the live preview and get the gain and exposure time manually tuned to a good range, then start writing to disk without closing and re-starting the program. Restarting the program is a pain because it forgets the gain and exposure settings that were found previously and so the first part of the file being written will include thousands of frames of over or underexposure.

bgottula commented 3 years ago

Implemented this feature. Writing to disk is paused by default at startup. Pressing 's' when either GUI window is in the foreground will start or pause writing to disk. Writing can be enabled or disabled multiple times while the program is running. All frames will be appended to the same SER file.