File Camera picks up old Images

Issue #469 resolved
Simeon created an issue

[x] Is the issue reproducible?
[x] Are you running the latest version?
[x] Are all prerequisites that are mentioned inside the manual met?

Description

File Camera picks up old Images first when an exposure was aborted or an Image was taken outside of NINA.

Steps to Reproduce

  • Connect File Camera
  • Place an image in the watched folder or take exposure outside of NINA or abort an Exposure in NINA
  • Take exposure with FileCamera or place file in folder

Expected behaviour

Nina imports the latest Image

Actual behaviour

NINA imports the first image that landed in the Folder after connecting to FileCamera or the one that was created after the last NINA exposure. The error will continue in importing the Images in the order they were created, never the latest that was captured.

Maybe fixable by avoiding images that landed in the folder before the actual Exposure gets taken.

Comments (4)

  1. Stefan B repo owner

    The Filewatcher is initialized when connecting. That means that any file that is dropped into the watched folder will be put into a queue, which you correctly described.

    What could be done instead is to start the filewatcher only on start of exposure and suspend it again after download.

  2. Simeon reporter

    Yeah that would fix the issue. Right now simply aborting an Exposure in Nina doesn’t cancel it with the camera, so the queue gets outdated quite easily.

  3. Log in to comment