Celestron ASCOM Error
Posted: Thu Mar 09, 2017 10:39 pm
Using the newest beta.3649 I get an error when trying to move my NexStar mount at 4 degrees/sec using the ASCOM arrows in SharpCap It only happens at 4 degrees/sec and so far only when I try to move the mount to the left. Aparently the mount things it is trying to move at 4.00416666666667'/sec and doesn't like it.
Using the ASCOM/Celestron onscreen window makes things work OK.
I'd consider this a back burner problem
Log entries below...
Tks Robin
Info: 16:31:50.7817288 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Creating ASCOM Telescope mount of type ASCOM.Celestron.Telescope ('Celestron Telescope Driver')
Debug: 16:31:50.9905893 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Ended
Info: 16:31:53.2351040 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.TryConnect() :: The mount claims to be Celestron Nexstar+ Costco GT 5.28, ASCOM.Celestron.Telescope, 6.0.5978.13259
The ASCOM Initiative
Copyright © 2015 Chris Rowland
ASCOM Telescope driver for Celestron
Scope Type Nexstar+ Costco GT 5.28, ASCOM Celestron Telescope Driver., 6.0
Debug: 16:31:53.2451111 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Started
Debug: 16:31:53.2451111 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Ended
Info: 16:31:53.3316772 Thread:#1 SharpCap.Models.Transforms.set_SelectedTransform(Transform value) :: Selecting transform None
Info: 16:31:53.3442048 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Info: 16:31:53.6927011 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.GetSolveFieldPath() :: Using plate solver at C:\Users\Steve\AppData\Local\cygwin_ansvr\bin\solve-field
Error: 16:32:20.4965672 Thread:#1 SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) :: Exception from Calling IDispatch method : MoveAxis : Exception has been thrown by the target of an invocation.
Stack Trace: at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 56
Extra Info:
Error: 16:32:20.5095740 Thread:#1 SharpCap.Base.Utilities.Tracer.TraceException(String action, Exception e, String additionalInfo) :: Inner Exception : System.Runtime.InteropServices.COMException (0x80040401): MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Error: 16:32:20.5195819 Thread:#1 SharpCap.Models.Mount.MoveAxis(Int32 iAxis, Double rate) :: Exception from Trying to MoveAxis : MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Stack Trace: at SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 60
at SharpCap.MountProxy.ASCOM.ProxyBase.Call(Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 110
at SharpCap.MountProxy.ASCOM.MountDispatchProxy.MoveAxis(TelescopeAxes Axis, Double Rate) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 166
at SharpCap.MountProxy.ASCOM.MountWrapper.MoveAxis(Int32 iAxis, Double rate) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 234
at SharpCap.Models.Mount.MoveAxis(Int32 iAxis, Double rate) in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:line 168
Extra Info:
Warning: 16:32:23.2169163 Thread:#1 SharpCap.Models.Application.ShowMessageBox(String message, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton) :: MessageBox: Cannot move mount because:
MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Warning: 16:32:23.2289260 Thread:#1 SharpCap.Models.Application.ShowMessageBox(String message, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton) :: MessageBox: User Chose:OK
Using the ASCOM/Celestron onscreen window makes things work OK.
I'd consider this a back burner problem
Log entries below...
Tks Robin
Info: 16:31:50.7817288 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Creating ASCOM Telescope mount of type ASCOM.Celestron.Telescope ('Celestron Telescope Driver')
Debug: 16:31:50.9905893 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Ended
Info: 16:31:53.2351040 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper.TryConnect() :: The mount claims to be Celestron Nexstar+ Costco GT 5.28, ASCOM.Celestron.Telescope, 6.0.5978.13259
The ASCOM Initiative
Copyright © 2015 Chris Rowland
ASCOM Telescope driver for Celestron
Scope Type Nexstar+ Costco GT 5.28, ASCOM Celestron Telescope Driver., 6.0
Debug: 16:31:53.2451111 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Started
Debug: 16:31:53.2451111 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Ended
Info: 16:31:53.3316772 Thread:#1 SharpCap.Models.Transforms.set_SelectedTransform(Transform value) :: Selecting transform None
Info: 16:31:53.3442048 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Info: 16:31:53.6927011 Thread:#1 SharpCap.ImageProcessing.AstroTortillaPlateSolver.GetSolveFieldPath() :: Using plate solver at C:\Users\Steve\AppData\Local\cygwin_ansvr\bin\solve-field
Error: 16:32:20.4965672 Thread:#1 SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) :: Exception from Calling IDispatch method : MoveAxis : Exception has been thrown by the target of an invocation.
Stack Trace: at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 56
Extra Info:
Error: 16:32:20.5095740 Thread:#1 SharpCap.Base.Utilities.Tracer.TraceException(String action, Exception e, String additionalInfo) :: Inner Exception : System.Runtime.InteropServices.COMException (0x80040401): MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Error: 16:32:20.5195819 Thread:#1 SharpCap.Models.Mount.MoveAxis(Int32 iAxis, Double rate) :: Exception from Trying to MoveAxis : MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Stack Trace: at SharpCap.MountProxy.ASCOM.ProxyBase.CallMethod(String name, Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 60
at SharpCap.MountProxy.ASCOM.ProxyBase.Call(Object[] oParams) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 110
at SharpCap.MountProxy.ASCOM.MountDispatchProxy.MoveAxis(TelescopeAxes Axis, Double Rate) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 166
at SharpCap.MountProxy.ASCOM.MountWrapper.MoveAxis(Int32 iAxis, Double rate) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 234
at SharpCap.Models.Mount.MoveAxis(Int32 iAxis, Double rate) in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:line 168
Extra Info:
Warning: 16:32:23.2169163 Thread:#1 SharpCap.Models.Application.ShowMessageBox(String message, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton) :: MessageBox: Cannot move mount because:
MoveAxis set - '4.00416666666667' is an invalid value. The valid range is: ASCOM.Celestron.AxisRates.
Warning: 16:32:23.2289260 Thread:#1 SharpCap.Models.Application.ShowMessageBox(String message, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton) :: MessageBox: User Chose:OK