[ERROR] [MemberName] DownloadExposure

Issue #148 resolved
Former user created an issue

----------------NINA - Nighttime Imaging 'N' Astronomy---------------- -------------------Running NINA Version 1.8.0.3007-------------------- -------------------------2019-03-28T15:46:55-------------------------- ----------------------ASCOM Platform Version 6.4---------------------- ---------------------.NET Version 4.0.30319.42000--------------------- ---------------------Oparating System Information--------------------- ---------------------------Is 64bit OS True--------------------------- ------------------------Is 64bit Process True------------------------- ---------------------------Platform Win32NT--------------------------- ---------------Version Microsoft Windows NT 6.2.9200.0---------------- ---------------------------Major 6 Minor 2---------------------------- ----------------------------Service Pack -----------------------------


Getting the following error when attempting to download images from my ASI1600MM Pro; [2019-03-28T16:02:28] [ERROR] [MemberName] DownloadExposure [2019-03-28T16:02:28] [ERROR] [FileName] D:\Projects\nina\NINA\Model\MyCamera\AscomCamera.cs [2019-03-28T16:02:28] [ERROR] [Message] Index was outside the bounds of the array. at NINA.Model.MyCamera.ImageStatistics.CalculateInternal(UInt16[] array) at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NINA.Model.MyCamera.ImageArray.<CreateInstance>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NINA.Model.MyCamera.AscomCamera.<>c__DisplayClass197_0.<<DownloadExposure>b__0>d.MoveNext()

[2019-03-28T16:04:13] [ERROR] [MemberName] DownloadExposure [2019-03-28T16:04:13] [ERROR] [FileName] D:\Projects\nina\NINA\Model\MyCamera\AscomCamera.cs [2019-03-28T16:04:13] [ERROR] [Message] Index was outside the bounds of the array. at NINA.Model.MyCamera.ImageStatistics.CalculateInternal(UInt16[] array) at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NINA.Model.MyCamera.ImageArray.<CreateInstance>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NINA.Model.MyCamera.AscomCamera.<>c__DisplayClass197_0.<<DownloadExposure>b__0>d.MoveNext()

Strangely it was working when I first started trying the app. My QHY5 guidescope also works through the ASI built in USB hub.

Comments (12)

  1. James

    Raw16. This problem exists with the Ascom driver. I tried the native ZWO driver and it is working flawlessly.

  2. James

    That looks like the problem. It was set to 12. That is interesting because 12 is correct, this has a 12 bit ADC?

  3. Stefan B repo owner

    Ok. Yes the problem here is that even though the sensor is 12 bit, the data that is generated by the driver is stretched to 16bit. This is a known issue, which is not handled gracefully yet by N.I.N.A.

  4. Stefan B repo owner

    Thank you. I will leave this issue open, but set the priority to minor, as there is a workaround. It will get properly fixed at some point.

  5. James

    Thanks. Now I know the source I will probably switch to the native driver and avoid the performance bottleneck of ascom.

  6. Log in to comment