Hello all,
Is there any internal limits for the rotator algorithms in SGP.
Reason I ask, I am on an older version of SGP and have a rotator with 99 steps/degree. If I have sync position and real position both equal 0. I ask it to rotate to 331 degrees the log shows a fault exception.
Now the math for 331 degrees is 33199 = 32769. For my SGP version this looks like a limit internal of 32767 total steps. I can rotate to 330.999= 32759.
If this has been resolved in an SGP version later than 3.0.2.91 kindly disregard this message.
The log thrown is
[01/18/20 07:39:32.384][DEBUG] [Rotator Thread] ASCOM Rotator: Moving rotator to 330.9
[01/18/20 07:39:32.384][DEBUG] [Rotator Thread] ASCOM Rotator: Sync offset is 0
[01/18/20 07:39:33.214][DEBUG] [Rotator Thread] SGM_ROTATOR_MOVE_ABS message complete…
[01/18/20 07:39:37.632][DEBUG] [Rotator Thread] SGM_ROTATOR_MOVE_ABS message received…
[01/18/20 07:39:37.632][DEBUG] [Rotator Thread] ASCOM Rotator: Moving rotator to 331
[01/18/20 07:39:37.632][DEBUG] [Rotator Thread] ASCOM Rotator: Sync offset is 0
[01/18/20 07:39:37.633][DEBUG] [Rotator Thread] ASCOM Rotator: Error in Move(abs) : CheckDotNetExceptions GCUSB_nSTEP_Rotator1A.Rotator MoveAbsolute System.OverflowException: Overflow (See Inner Exception for details) (System.OverflowException: Overflow)
at ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(String memberName, Exception e) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 630
at ASCOM.DriverAccess.MemberFactory.MethodTargetInvocationExceptionHandler(String memberName, Exception e) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 678
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 105
at SequenceGenerator.AscomRotator.g4(Single A_0)
[01/18/20 07:39:37.634][DEBUG] [Rotator Thread] SGM_ROTATOR_MOVE_ABS message complete…
Thanks for your time!
Gene