Image download from DSLR endlessly looping

Issue #1042 closed
Mahon created an issue

I often have a problem when I use my DSLR with NINA. It seems to have sometimes a desynchronization betwwen NINA and the DSLR : NINA awaits a camera response whereas the DSLR stays in a busy mode. It force me to unplug the DSLR (no other way) but NINA still tries to dowload the image, the stop button does nothing and it is impossible to cancel it, even if I disconnect/reconnect the camera in the software, there still the “dowloadind” in the status bar, and any action for acquisition is blocked. I must stop all, disconnect all equipments and restart NINA.

Is there any way to say to NINA to abort the wait for the camera ?

I hope that you have understand me …

Thanks a lot for your answer, and thanks for this marvelous software !

Comments (12)

  1. Mahon reporter

    Sorry, I did’nt see them.

    They actually look similar to the problem I had.

    I did other tests in order to avoid the problem. It seems that without a memory card in the DSLR, I don’t have the lockup. But I need to do more tests because the problem is relatively random.

    Thanks for your support.

  2. Taylor Burnham

    I’m encountering this issue and I do not believe #956 is it, that seems to be something different from the logs. #900 is closer but without logs it’s hard to confirm. In my case it’s taking the exposure, and then when it times the async function loops infinitely and floods the log as fast as it can write to disk.

    2022-02-20T21:24:27.7070|INFO|CameraVM.cs|Capture|712|Starting Exposure - Exposure Time: 300s; Filter: ; Gain: 800; Offset -1; Binning: 1x1;
    2022-02-20T21:30:27.8658|ERROR|CameraVM.cs|Capture|741|Camera Timeout - Camera did not set image as ready after exposuretime + 60 seconds
    2022-02-20T21:30:27.8698|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    
    << Snipped the above for 5,277,579 lines... >>
    
    2022-02-20T21:30:27.8708|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    2022-02-20T21:34:18.6659|INFO|CameraVM.cs|Disconnect|622|Disconnected Camera
    

    I’m going to try to recreate this condition with trace logging on and I’ll post it, but it’s seemingly random. If you could post logs from when this happened, or if it happens again, it would help with confirming. You can find them in %LOCALAPPDATA%\NINA\Logs.

  3. Michael Zeller

    Same problem here. It appeared the first time after I updated to 2049. whenever I try to take pictures no matter what, normal exposure or for platesolving it get stuck.

    When i set the exposure for 10 seconds, the exposure take way more time (~23 seconds) until I hear the mirror swinging back.

    I activated trace level for logs and get;

    ----------------------------------------------------------------------
    ----------------NINA - Nighttime Imaging 'N' Astronomy----------------
    -------------------Running NINA Version 2.0.0.2048--------------------
    -------------------------2022-03-10T22:21:01--------------------------
    ---------------------.NET Version 4.0.30319.42000---------------------
    ---------------------Oparating System Information---------------------
    ---------------------------Is 64bit OS True---------------------------
    ------------------------Is 64bit Process True-------------------------
    ---------------------------Platform Win32NT---------------------------
    --------------Version Microsoft Windows NT 10.0.19044.0---------------
    ---------------------------Major 10 Minor 0---------------------------
    ----------------------------Service Pack -----------------------------
    ----------------------------------------------------------------------
    DATE|LEVEL|SOURCE|MEMBER|LINE|MESSAGE
    2022-03-10T22:21:03.6260|INFO|CameraChooserVM.cs|GetEquipment|66|Found 0 ASI Cameras
    2022-03-10T22:21:03.7979|INFO|CameraChooserVM.cs|GetEquipment|81|Found 0 Altair Cameras
    2022-03-10T22:21:04.1570|INFO|CameraChooserVM.cs|GetEquipment|93|Found 0 Atik Cameras
    2022-03-10T22:21:04.1727|INFO|CameraChooserVM.cs|GetEquipment|107|Found 0 FLI Cameras
    2022-03-10T22:21:05.2193|INFO|CameraChooserVM.cs|GetEquipment|127|Found 0 QHYCCD Cameras
    2022-03-10T22:21:05.5942|INFO|CameraChooserVM.cs|GetEquipment|145|Found 0 ToupTek Cameras
    2022-03-10T22:21:05.6567|INFO|CameraChooserVM.cs|GetEquipment|157|Found 0 Omegon Cameras
    2022-03-10T22:21:06.0160|INFO|CameraChooserVM.cs|GetEquipment|169|Found 0 RisingCam Cameras
    2022-03-10T22:21:06.0785|INFO|CameraChooserVM.cs|GetEquipment|181|Found 0 MallinCam Cameras
    2022-03-10T22:21:06.0941|INFO|CameraChooserVM.cs|GetEquipment|194|Found 0 SVBony Cameras
    2022-03-10T22:21:06.1097|INFO|CameraChooserVM.cs|GetEquipment|204|Found 0 SBIG Cameras
    2022-03-10T22:21:06.1409|INFO|CameraChooserVM.cs|GetEquipment|216|Found 2 ASCOM Cameras
    2022-03-10T22:21:06.1566|INFO|CameraChooserVM.cs|GetEquipment|229|Found 0 Canon Cameras
    2022-03-10T22:21:13.0203|INFO|ApplicationVM.cs|CheckASCOMPlatformVersion|65|ASCOM Platform 6.5.1.3234 installed
    2022-03-10T22:21:33.0655|TRACE|Profile.cs|Save|43|Start: 10.03.2022 09:21:33.065; Stopped: 10.03.2022 09:21:33.065; Elapsed: 00:00:00.0029804
    2022-03-10T22:21:33.0655|TRACE|ProfileService.cs|Save|43|Start: 10.03.2022 09:21:33.065; Stopped: 10.03.2022 09:21:33.065; Elapsed: 00:00:00.0031922
    2022-03-10T22:21:41.3134|INFO|DockManagerVM.cs|InitializeAvalonDockLayout|294|Initializing imaging tab layout from C:\Users\micha\AppData\Local\NINA\Profiles\27202875-6137-4097-9a5d-e1e040e3545d.dock.config
    2022-03-10T22:22:22.0277|INFO|CameraChooserVM.cs|GetEquipment|66|Found 0 ASI Cameras
    2022-03-10T22:22:22.0902|INFO|CameraChooserVM.cs|GetEquipment|81|Found 0 Altair Cameras
    2022-03-10T22:22:22.1059|TRACE|AtikCameraDll.cs|GetDevicesCount|39|Number of Atik Cameras: 0
    2022-03-10T22:22:22.1059|INFO|CameraChooserVM.cs|GetEquipment|93|Found 0 Atik Cameras
    2022-03-10T22:22:22.1215|DEBUG|FLICameras.cs|GetCameras|28|FLI: Found 0 camera(s)
    2022-03-10T22:22:22.1215|INFO|CameraChooserVM.cs|GetEquipment|107|Found 0 FLI Cameras
    2022-03-10T22:22:22.1215|TRACE|QhyccdSdk.cs|InitSdk|51|QhyccdSdk: Initializing QHY SDK, refCount=0, sdkIsInitialized=True
    2022-03-10T22:22:22.1215|TRACE|QHYCameras.cs|Count|38|QHYCamera - found 0 camera(s)
    2022-03-10T22:22:22.1215|INFO|CameraChooserVM.cs|GetEquipment|127|Found 0 QHYCCD Cameras
    2022-03-10T22:22:22.4027|INFO|CameraChooserVM.cs|GetEquipment|145|Found 0 ToupTek Cameras
    2022-03-10T22:22:22.4027|INFO|CameraChooserVM.cs|GetEquipment|157|Found 0 Omegon Cameras
    2022-03-10T22:22:22.6682|INFO|CameraChooserVM.cs|GetEquipment|169|Found 0 RisingCam Cameras
    2022-03-10T22:22:22.6995|INFO|CameraChooserVM.cs|GetEquipment|181|Found 0 MallinCam Cameras
    2022-03-10T22:22:22.6995|DEBUG|SVBonyProvider.cs|GetEquipment|42|Getting SVBony Cameras
    2022-03-10T22:22:22.6995|INFO|CameraChooserVM.cs|GetEquipment|194|Found 0 SVBony Cameras
    2022-03-10T22:22:22.6995|DEBUG|SBIGCameraProvider.cs|GetEquipment|43|Getting SBIG Cameras
    2022-03-10T22:22:22.6995|TRACE|SbigSdk.cs|Create|82|SBIGSDK: Created driver instance 1
    2022-03-10T22:22:22.6995|TRACE|SbigSdk.cs|Dispose|102|SBIGSDK: Closing driver instance 1
    2022-03-10T22:22:22.6995|TRACE|SbigSdk.cs|Dispose|108|SBIGSDK: Restoring previous handle 0
    2022-03-10T22:22:22.6995|INFO|CameraChooserVM.cs|GetEquipment|204|Found 0 SBIG Cameras
    2022-03-10T22:22:22.7464|TRACE|ASCOMInteraction.cs|GetCameras|51|Adding Camera V3 simulator (ASCOM)
    2022-03-10T22:22:22.7464|TRACE|ASCOMInteraction.cs|GetCameras|51|Adding Simulator (ASCOM)
    2022-03-10T22:22:22.7464|INFO|CameraChooserVM.cs|GetEquipment|216|Found 2 ASCOM Cameras
    2022-03-10T22:22:22.7619|INFO|CameraChooserVM.cs|GetEquipment|229|Found 1 Canon Cameras
    2022-03-10T22:22:22.7619|TRACE|CameraChooserVM.cs|GetEquipment|237|Adding Canon EOS 550D
    2022-03-10T22:22:24.7753|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:25.0466|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:25.2002|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x100, parameter: 0x0
    2022-03-10T22:22:25.2002|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x100 = 0x64ff0f
    2022-03-10T22:22:25.2002|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2002|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x0
    2022-03-10T22:22:25.2002|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0xb, parameter: 0x0
    2022-03-10T22:22:25.2002|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0xb = 0x2
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2012|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x0
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2012|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x0
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0xb, parameter: 0x0
    2022-03-10T22:22:25.2012|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0xb = 0x1
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2012|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x0
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0xb, parameter: 0x0
    2022-03-10T22:22:25.2012|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0xb = 0x2
    2022-03-10T22:22:25.2012|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2022|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x26989
    2022-03-10T22:22:25.2022|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x40a, parameter: 0x0
    2022-03-10T22:22:25.2022|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x40a = 0x26987
    2022-03-10T22:22:25.2640|INFO|CameraVM.cs|ChooseCamera|436|Successfully connected Camera. Id: Canon EOS 550D Name: Canon EOS 550D Driver Version: 1.1.0
    2022-03-10T22:22:41.7169|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:41.7483|INFO|CameraVM.cs|Capture|712|Starting Exposure - Exposure Time: 10s; Filter: ; Gain: 800; Offset -1; Binning: 1x1;
    2022-03-10T22:22:41.7638|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:41.7638|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:41.7638|DEBUG|EDCamera.cs|IsManualMode|412|CANON: Camera is in MANUAL mode
    2022-03-10T22:22:41.8264|DEBUG|EDCamera.cs|SendStartExposureCmd|759|CANON: Initiating MANUAL mode exposure (via PressShutterButton)
    2022-03-10T22:22:42.0605|DEBUG|EDCamera.cs|SendStopExposureCmd|848|CANON: Ending MANUAL mode exposure (via PressShutterButton)
    2022-03-10T22:22:42.1230|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x102, propertyID: 0x41b, parameter: 0x0
    2022-03-10T22:22:42.1230|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x102, propertyID: 0x41b, parameter: 0x0
    2022-03-10T22:22:42.1230|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x102, propertyID: 0x41b, parameter: 0x0
    2022-03-10T22:22:42.1230|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x406, parameter: 0x0
    2022-03-10T22:22:42.1230|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x406 = 0x1d
    2022-03-10T22:22:42.1230|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x102, propertyID: 0x41b, parameter: 0x0
    2022-03-10T22:23:12.1990|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x101, propertyID: 0x406, parameter: 0x0
    2022-03-10T22:23:12.1990|TRACE|EDCamera.cs|Camera_SDKPropertyEvent|350|CANON: Property changed: 0x406 = 0x1d
    2022-03-10T22:23:12.1990|DEBUG|EDCamera.cs|Camera_SDKPropertyEvent|346|CANON: Received property event: 0x102, propertyID: 0x41b, parameter: 0x0
    2022-03-10T22:23:52.2367|ERROR|CameraVM.cs|Capture|741|Camera Timeout - Camera did not set image as ready after exposuretime + 60 seconds
    2022-03-10T22:23:52.2677|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    2022-03-10T22:23:52.2677|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    2022-03-10T22:23:52.2677|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    2022-03-10T22:23:52.2677|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    2022-03-10T22:23:52.2677|ERROR|EDCamera.cs|DownloadExposure|498|CANON: No new image is ready for downlaod
    ...
    

    uninstall everything and install 2048 didn’t change anything. deleting the profile didn’t change anything either.

    Other Apps work as expected and can take exposures. Problem is in N.I.N.A. only.

    Hope there will be a solution soon

  4. Mahon reporter

    Hi.

    I think no solution can be found. It seems that the problem comes more from the driver than NINA.

    Is there any way to indicate to NINA to stop waiting for a response from the DSLR ? Even if you disconnect the DSLR, NINA still waits a response … I always need to completly restart NINA .

    Thanks for your help.

  5. Mahon reporter

    Hi.

    I think I have solved my problem.

    I’ve tried the ASCOM Camera Driver for DSLR in place of EOS driver.

    I no longer encountered blockages. Even if I stop an acquisition, the system is not pertubed as usual with the other driver.

    I will check it over time, but I think it is a good alternative for this issue.

    Have a nice day ! (and a clear night sky !)

  6. Taylor Burnham

    Was the ASCOM DSLR driver updated lately, or the EOS SDK perhaps? I experienced the same/similar behavior on my Canon 90D (with the latest firmware as of Jan/Feb) with both the native NINA connection and the ASCOM DSLR connection.

    Let me know the behavior as I’d like to use my DSLR for piggybacking widefield shots, but I ended up grabbing an ASI294MC for DSO imaging.

  7. Mahon reporter

    I use the last version of ASCOM (6.6), with Canonsdk

    I have to do more tests to be sure all works fine, but yersterday was the first time I used my DSLR without any problem.

  8. Log in to comment