Celestron ASCOM Error

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
dbunna2
Posts: 26
Joined: Wed Feb 22, 2017 2:06 pm

Celestron ASCOM Error

#1

Post by dbunna2 »

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
User avatar
admin
Site Admin
Posts: 13319
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Celestron ASCOM Error

#2

Post by admin »

Just wanted to check - did this problem happen in previous builds or is it something new with the latest one?

cheers,

Robin
dbunna2
Posts: 26
Joined: Wed Feb 22, 2017 2:06 pm

Re: Celestron ASCOM Error

#3

Post by dbunna2 »

It also happened on the prior build so nothing new.
Post Reply