Rotator SGP internal limits?

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

Fixing up the display of the math, 331 TIMES 99 = 32769 and
330.9 TIMES 99 = 32759
The post ate my ‘star’ as multiplier sign.

I just tried this on latest stable 3.1.0.446 and see the same exception thrown at 331 degrees * 99 steps per degree.

That exception is coming from the rotator. SGP has no limits for the rotator. If you have the amASCOM log for the device it may also be worth posting.

Thank you,
Jared

Thanks Jared, found the issue in driver!

SGP all fine!

Gene