Re: Sync issues after Plate Solving
Posted: Wed Sep 12, 2018 6:14 am
Robin,
I spoke too soon. No luck I'm afraid, even with the latest test build of Synscan. I'm using the latest beta of Sharpcap (3.2.5747.0). A plate solve is successful, but then I get some kind of logic error in the Sharpcap logs. This is the same error I also get in the latest official 3.1 version. I tried both.
Info: 14:07:31.7044925 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Field solved to RA=20:01:13,Dec=23:12:21S, field Size {Width=2.30578, Height=1.30471}
Info: 14:07:35.2116419 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Before Sync mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.3076386 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Performing Alt/Az Sync to 20.0205516876564, -23.2059473636352
Info: 14:07:35.3086363 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Site Info: 10m, 1.29888888888889 (N/S), 103.857777777778 (E/W)
Info: 14:07:35.3386369 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Resolved to Alt/Az : -21.9112201804273, 114.563786967067
Info: 14:07:35.3676732 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Mount position before SyncToAltAz : -18.9065742843828, 119.984169899903
Warning: 14:07:35.4446755 Thread:#1 SharpCap.Base.Utilities.Logger.Warn(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception of type InvalidValueException from Mount claimed it could SyncAltAz, but command failed... Reverting to attempting to Sync to equatorial coordinates. : set - '' is an invalid value. The valid range is: .
Stack Trace: at ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(String memberName, Exception e) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 553
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 422
at ASCOM.DriverAccess.Telescope.SyncToAltAz(Double Azimuth, Double Altitude) in c:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 1119
at SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 460
Warning: 14:07:35.4456768 Thread:#1 SharpCap.Base.Utilities.Logger.Warn(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Inner Exception : ASCOM.InvalidValueException: unspecified
at ASCOM.SynScanMobile.ConversationManager.ConverseStaticInternal(IComm comm, CommunicationStats cs, ResponseCache responseCache, CallerType callerType, Command command, ArgsChecker argsChecker, ConverseParams convParams)
at ASCOM.SynScanMobile.Telescope.SyncToAltAz(Double Azimuth, Double Altitude)
Info: 14:07:35.4996796 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: After Sync mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.5446965 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Before Slew mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.6247950 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: After Slew mount is at RA=19:51:18,Dec=28:41:38S
The ASCOM logs for the same period as follows:
14:07:35.016 TrackingRate Get driveSidereal
14:07:35.187 RightAscension Get - 19:51:18
14:07:35.210 Declination Get - -28:41:40"
14:07:35.220 CanSlewAltAz Get - True
14:07:35.224 CanSyncAltAz Get - True
14:07:35.300 SiteElevation Get 10
14:07:35.303 SiteLatitude Get 1.29888888888889
14:07:35.306 SiteLongitude Get 103.857777777778
14:07:35.352 Altitude -18.9065742843828
14:07:35.367 Azimuth Get 119.984169899903
14:07:35.466 SyncToCoordinates
14:07:35.483 RightAscension Get - 19:51:18
14:07:35.498 Declination Get - -28:41:39"
14:07:35.529 RightAscension Get - 19:51:18
14:07:35.543 Declination Get - -28:41:39"
14:07:35.564 SlewToCoordinatesAsync
14:07:35.598 RightAscension Get - 19:51:18
14:07:35.623 Declination Get - -28:41:39"
14:07:35.922 AtPark Get - False
14:07:35.941 Altitude -18.9048859629713
14:07:35.956 Declination Get - -28:41:39"
14:07:35.970 Azimuth Get 119.98369229368
14:07:35.985 RightAscension Get - 19:51:18
14:07:35.987 CanSetTracking Get - True
14:07:35.992 Tracking Get - True
14:07:35.995 TrackingRate Get driveSidereal
14:07:35.997 CanSetTracking Get - True
14:07:35.998 Tracking Get - True
14:07:36.000 TrackingRate Get driveSidereal
14:07:36.002 CanSetTracking Get - True
14:07:36.004 Tracking Get - True
14:07:36.005 TrackingRate Get driveSidereal
14:07:36.007 CanSetTracking Get - True
14:07:36.009 Tracking Get - True
14:07:36.011 TrackingRate Get driveSidereal
14:07:36.924 AtPark Get - False
14:07:36.942 Altitude -18.9013313382905
14:07:36.972 Declination Get - -28:41:39"
14:07:36.992 Azimuth Get 119.983041389371
14:07:37.018 RightAscension Get - 19:51:18
I spoke too soon. No luck I'm afraid, even with the latest test build of Synscan. I'm using the latest beta of Sharpcap (3.2.5747.0). A plate solve is successful, but then I get some kind of logic error in the Sharpcap logs. This is the same error I also get in the latest official 3.1 version. I tried both.
Info: 14:07:31.7044925 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Field solved to RA=20:01:13,Dec=23:12:21S, field Size {Width=2.30578, Height=1.30471}
Info: 14:07:35.2116419 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Before Sync mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.3076386 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Performing Alt/Az Sync to 20.0205516876564, -23.2059473636352
Info: 14:07:35.3086363 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Site Info: 10m, 1.29888888888889 (N/S), 103.857777777778 (E/W)
Info: 14:07:35.3386369 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Resolved to Alt/Az : -21.9112201804273, 114.563786967067
Info: 14:07:35.3676732 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) :: Mount position before SyncToAltAz : -18.9065742843828, 119.984169899903
Warning: 14:07:35.4446755 Thread:#1 SharpCap.Base.Utilities.Logger.Warn(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception of type InvalidValueException from Mount claimed it could SyncAltAz, but command failed... Reverting to attempting to Sync to equatorial coordinates. : set - '' is an invalid value. The valid range is: .
Stack Trace: at ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(String memberName, Exception e) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 553
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 422
at ASCOM.DriverAccess.Telescope.SyncToAltAz(Double Azimuth, Double Altitude) in c:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 1119
at SharpCap.MountProxy.ASCOM.MountWrapper.SyncTo(Double actualPositionRightAscension, Double actualPositionDeclination) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 460
Warning: 14:07:35.4456768 Thread:#1 SharpCap.Base.Utilities.Logger.Warn(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Inner Exception : ASCOM.InvalidValueException: unspecified
at ASCOM.SynScanMobile.ConversationManager.ConverseStaticInternal(IComm comm, CommunicationStats cs, ResponseCache responseCache, CallerType callerType, Command command, ArgsChecker argsChecker, ConverseParams convParams)
at ASCOM.SynScanMobile.Telescope.SyncToAltAz(Double Azimuth, Double Altitude)
Info: 14:07:35.4996796 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: After Sync mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.5446965 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: Before Slew mount is at RA=19:51:18,Dec=28:41:39S
Info: 14:07:35.6247950 Thread:#1 SharpCap.ViewModels.PlateSolveAndResync+<SolveAndSync>d__7.MoveNext() :: After Slew mount is at RA=19:51:18,Dec=28:41:38S
The ASCOM logs for the same period as follows:
14:07:35.016 TrackingRate Get driveSidereal
14:07:35.187 RightAscension Get - 19:51:18
14:07:35.210 Declination Get - -28:41:40"
14:07:35.220 CanSlewAltAz Get - True
14:07:35.224 CanSyncAltAz Get - True
14:07:35.300 SiteElevation Get 10
14:07:35.303 SiteLatitude Get 1.29888888888889
14:07:35.306 SiteLongitude Get 103.857777777778
14:07:35.352 Altitude -18.9065742843828
14:07:35.367 Azimuth Get 119.984169899903
14:07:35.466 SyncToCoordinates
14:07:35.483 RightAscension Get - 19:51:18
14:07:35.498 Declination Get - -28:41:39"
14:07:35.529 RightAscension Get - 19:51:18
14:07:35.543 Declination Get - -28:41:39"
14:07:35.564 SlewToCoordinatesAsync
14:07:35.598 RightAscension Get - 19:51:18
14:07:35.623 Declination Get - -28:41:39"
14:07:35.922 AtPark Get - False
14:07:35.941 Altitude -18.9048859629713
14:07:35.956 Declination Get - -28:41:39"
14:07:35.970 Azimuth Get 119.98369229368
14:07:35.985 RightAscension Get - 19:51:18
14:07:35.987 CanSetTracking Get - True
14:07:35.992 Tracking Get - True
14:07:35.995 TrackingRate Get driveSidereal
14:07:35.997 CanSetTracking Get - True
14:07:35.998 Tracking Get - True
14:07:36.000 TrackingRate Get driveSidereal
14:07:36.002 CanSetTracking Get - True
14:07:36.004 Tracking Get - True
14:07:36.005 TrackingRate Get driveSidereal
14:07:36.007 CanSetTracking Get - True
14:07:36.009 Tracking Get - True
14:07:36.011 TrackingRate Get driveSidereal
14:07:36.924 AtPark Get - False
14:07:36.942 Altitude -18.9013313382905
14:07:36.972 Declination Get - -28:41:39"
14:07:36.992 Azimuth Get 119.983041389371
14:07:37.018 RightAscension Get - 19:51:18