Hangup/Freeze on Image Download

Issue #799 closed
Albert Miethaner created an issue

I run the actuel 053 nightly with a QHY294M.

I ve seen yesterday on creating Bias that any times in the middle of the sequence no more image downloads. Cancle abort or camera disconnect dont work.

Today i ve create Darks. The same here.

This is the screen at 13:16. The last image in the folder was at 12:06.

My Loglvl was on Error so its not in there.

I set it to Debug no and would test.

Comments (12)

  1. Albert Miethaner reporter

    All run fine this night. About 9h with 300sek. subs.

    If I ve this problems again I would reply here.

  2. Albert Miethaner reporter

    Last night with the .056 it was again.

    Here the last Log entries bevore the freez on image downloading:

    2021-03-09T04:07:12.3988|DEBUG|ImageData.cs|PrepareSave|85|Saving temporary image at C:\NINA_IMAGES\2017e085-75ac-48d7-acbb-cf98f4613e48.fits
    2021-03-09T04:07:13.2493|INFO|StarDetection.cs|Detect|248|Average HFR: 2,30349427093051, HFR σ: 0,540966147258754, Detected Stars 337
    2021-03-09T04:07:13.4692|INFO|ImageData.cs|FinalizeSave|124|Saving image at C:\NINA_IMAGES\2021-03-09\M 81\LIGHT\L_2021-03-09_04-06-09_1600_50_60.00_-15.10.fits
    2021-03-09T04:07:23.8274|INFO|SequenceItem.cs|Run|127|Finishing Category: Guider, Item: Dither
    2021-03-09T04:07:23.8284|INFO|SequenceItem.cs|Run|127|Finishing Category: * Instruction Set *, Item: NINA.Sequencer.Container.SequentialContainer, Strategy: SequentialStrategy, Items: 1, Conditions: Triggers:
    2021-03-09T04:07:23.8294|INFO|MeridianFlipTrigger.cs|ShouldTrigger|207|Meridian Flip - Telescope already reports pierEast. Automated Flip will not be performed.
    2021-03-09T04:07:23.8304|INFO|SequenceItem.cs|Run|118|Starting Category: Filterrad, Item: SwitchFilter, Filter: L
    2021-03-09T04:07:24.0978|DEBUG|QHYFilterWheel.cs|Position|116|QHYCFW: Current position: 0
    2021-03-09T04:07:24.0988|INFO|SequenceItem.cs|Run|127|Finishing Category: Filterrad, Item: SwitchFilter, Filter: L
    2021-03-09T04:07:24.0998|INFO|MeridianFlipTrigger.cs|ShouldTrigger|207|Meridian Flip - Telescope already reports pierEast. Automated Flip will not be performed.
    2021-03-09T04:07:24.1008|INFO|SequenceItem.cs|Run|118|Starting Category: Kamera, Item: TakeExposure, ExposureTime 60, Gain 1600, Offset 50, ImageType LIGHT, Binning 1x1
    2021-03-09T04:07:24.1028|DEBUG|QhyccdSdk.cs|SetControlValue|281|QHYCCD: Setting Control CONTROL_GAIN to 1600
    2021-03-09T04:07:24.1048|DEBUG|QhyccdSdk.cs|SetControlValue|281|QHYCCD: Setting Control CONTROL_OFFSET to 50
    2021-03-09T04:07:24.1058|DEBUG|QHYCamera.cs|SetBinning|1017|QHYCCD: Setting bin mode to 1x1
    2021-03-09T04:07:24.1068|INFO|CameraVM.cs|Capture|689|Starting Exposure - Exposure Time: 60s; Filter: ; Gain: 1600; Offset 50; Binning: 1x1;
    2021-03-09T04:07:24.2735|DEBUG|QhyccdSdk.cs|SetControlValue|281|QHYCCD: Setting Control CONTROL_EXPOSURE to 60000000
    2021-03-09T04:07:24.2740|DEBUG|QHYCamera.cs|SetResolution|1039|QHYCCD: Setting image resolution: startx=0, starty=0, sizex=4164, sizey=2795
    2021-03-09T04:07:24.2750|DEBUG|QHYCamera.cs|ImageSize|1305|QHYCCD: Setting ImageSize to 23276760 bytes
    2021-03-09T04:07:24.2758|DEBUG|QHYCamera.cs|StartExposure|1122|QHYCCD: Starting exposure...
    2021-03-09T04:07:24.4370|DEBUG|QHYCamera.cs|StartDownloadExposure|953|QHYCCD: Downloading exposure...

  3. Dale Ghent

    Failing frame downloads and such behavior with temperatures indicate an issue with the USB connection to the camera. Make sure that your QHY USB driver is updated, try a different (and high quality) cable, and make sure that you are using a powered USB hub instead of a passive one, if you are using a USB hub at all.

    You may want to contact QHY if these issues persist. There is nothing NINA can do for them.

  4. Albert Miethaner reporter

    Ok, thanks for your feedback. All your point are checked. But if its not a Nina topic, so i write to QHY. You can close this ticket.

  5. Albert Miethaner reporter

    @Dale Ghent why starts nina the exposure and after this but in the same Sekund download it?

    2021-03-09T04:07:24.2758|DEBUG|QHYCamera.cs|StartExposure|1122|QHYCCD: Starting exposure...
    2021-03-09T04:07:24.4370|DEBUG|QHYCamera.cs|StartDownloadExposure|953|QHYCCD: Downloading exposure...

    With a 60sek. exposure it cant work? Or can run this 2 actions at the same time?

  6. Dale Ghent

    If you look further down in the log file in the parts that you did not include here, you will find where the the frame is actually downloaded. If you look at the actual code, you would see that the StartDownloadExposure() function pauses until the camera reports that the exposure is ready.

  7. Albert Miethaner reporter

    @Dale Ghent Sorry for Posting again. Thanks for your answer.

    Since yesterday a run a test with a debugger from QHY. I seen a new but similar error now.

    Can you have a look if its a new one for Nina, or if its also a QHY errer:

    2021-03-16T21:42:57.4204|DEBUG|QHYCamera.cs|StartExposure|1122|QHYCCD: Starting exposure...
    2021-03-16T21:42:57.5803|DEBUG|QHYCamera.cs|StartDownloadExposure|953|QHYCCD: Downloading exposure...
    2021-03-16T21:43:00.5787|INFO|StarDetection.cs|Detect|248|Average HFR: 5,31473149118397, HFR σ: 2,80510299552636, Detected Stars 28
    2021-03-16T21:43:00.7842|INFO|ImageData.cs|FinalizeSave|124|Saving image at C:\NINA_IMAGES\2021-03-16\Target\LIGHT\Ha_2021-03-16_21-37-54_1600_50_300.00_-15.10.fits
    2021-03-16T21:47:54.4986|WARNING|QHYCamera.cs|StartDownloadExposure|981|QHYCCD: Failed to download image from camera! rv = 4294967295
    2021-03-16T21:47:54.4997|ERROR|ImagingVM.cs|CaptureImage|245|Fehler beim Abrufen der Bilddaten von der Kamera! bei NINA.Model.MyCamera.QHYCamera.<>c__DisplayClass194_0.<<StartDownloadExposure>b__0>d.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.Model.MyCamera.QHYCamera.<WaitUntilExposureIsReady>d__193.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.ViewModel.Equipment.Camera.CameraVM.<Capture>d__60.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.ViewModel.ImagingVM.<>c__DisplayClass35_0.<<CaptureImage>b__0>d.MoveNext()
    2021-03-16T21:47:54.5016|ERROR|SequenceItem.cs|Run|138|Category: Kamera, Item: TakeExposure, ExposureTime 300, Gain -1, Offset -1, ImageType LIGHT, Binning 1x1 - Fehler beim Abrufen der Bilddaten von der Kamera! bei NINA.ViewModel.ImagingVM.<>c__DisplayClass35_0.<<CaptureImage>b__0>d.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.Sequencer.SequenceItem.Imaging.TakeExposure.<Execute>d__42.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.Sequencer.SequenceItem.SequenceItem.<Run>d__45.MoveNext()
    2021-03-16T21:47:54.5027|INFO|SequenceItem.cs|Run|118|Starting Category: Filterrad, Item: SwitchFilter, Filter: Ha
    2021-03-16T21:47:54.5036|DEBUG|QHYFilterWheel.cs|Position|116|QHYCFW: Current position:
    2021-03-16T21:47:54.5056|DEBUG|QHYFilterWheel.cs|Position|140|QHYCFW: Moving to position 5 (str: 5)
    2021-03-16T21:47:54.5066|DEBUG|QHYFilterWheel.cs|Position|116|QHYCFW: Current position:
    2021-03-16T21:47:55.5173|DEBUG|QHYFilterWheel.cs|Position|116|QHYCFW: Current position:

    This line comes until i disconnect the wheel

    2021-03-17T05:55:57.3777|DEBUG|QHYFilterWheel.cs|Disconnect|156|QHYCFW: Closing filter wheel QHY294PROM 7-Slot Filter Wheel
    2021-03-17T05:55:57.3777|INFO|FilterWheelVM.cs|Disconnect|259|Disconnected Filter Wheel
    2021-03-17T05:55:57.5808|ERROR|SequenceItem.cs|Run|138|Category: Filterrad, Item: SwitchFilter, Filter: Ha - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei NINA.ViewModel.Equipment.FilterWheel.FilterWheelVM.<>c__DisplayClass3_0.<<ChangeFilter>b__2>d.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.ViewModel.Equipment.FilterWheel.FilterWheelVM.<ChangeFilter>d__3.MoveNext()
    --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
    bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    bei NINA.Sequencer.SequenceItem.SequenceItem.<Run>d__45.MoveNext()

  8. Dale Ghent

    This is all communications issues with the camera. Other users of the 294M Pro and other cameras (I test with 268M, 600M, 183M, and 294C) all work fine.

  9. Albert Miethaner reporter

    @Dale Ghent thanks! so i will send it to qhy. Should i inform you here in this thread of the results from qhy?

  10. Log in to comment