Problem starting a sequence with a rotator is causing ascom driver errors with moonlite nitecrawler rotator

Issue #221 resolved
Linda Thomas-Fowler created an issue

This is in 1.9beta6

I used the framing tab to define a framing of the Crescent Nebula. The rotator angle was actually set to 0.

When I start the sequence it plate solves but then suddenly parks the mount with no message about something being wrong. Looking at the log it appears Nina is sending bad values to the ascom driver for the rotator:

[2019-07-26T23:58:22] [ERROR] [MemberName] WatchTaskAsync
[2019-07-26T23:58:22] [ERROR] [FileName] D:\Projects\nina\NINA\Utility\NotifyTaskCompletion.cs
[2019-07-26T23:58:22] [ERROR] [Message] MoveAbsolute set - '531.519' is an invalid value. The valid range is: 0 to 360.0. at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 487
at ASCOM.DriverAccess.Rotator.MoveAbsolute(Single Position) in C:\ASCOM Build\Export\ASCOM.DriverAccess\Rotator.cs:line 106
at NINA.Model.MyRotator.AscomRotator.MoveAbsolute(Single position)
at NINA.ViewModel.Equipment.Rotator.RotatorVM.<>c__DisplayClass2_0.<Move>b__0()
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.ViewModel.Equipment.Rotator.RotatorVM.<Move>d__2.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.ViewModel.Equipment.Rotator.RotatorVM.<MoveRelative>d__3.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.ViewModel.SequenceVM.<RotateEquipment>d__44.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.ViewModel.SequenceVM.<StartSequence>d__56.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.ViewModel.SequenceVM.<StartSequencing>d__55.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NINA.ViewModel.SequenceVM.<StartSequencing>d__55.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.Utility.NotifyTaskCompletion`1.<WatchTaskAsync>d__5.MoveNext()

If there is any other information I can provide, please let me know.

Comments (3)

  1. Linda Thomas-Fowler reporter

    This is the aster_tmp.jpg file that is the last that was left in Nina's app data directory. Hopefully this will help troubleshoot the problem.

  2. Log in to comment