iOptron Minitower - Error connecting to ASCOM mount. Object required.
Posted: Thu Aug 17, 2017 8:26 pm
Trying to use Sharpcap 3.0.4002 with an iOptron Minitower mount using iOptron ASCOM driver 2.1. Two different planetarium programs (Project Pluto Guide 9 and Cartes du Ciel 4.0-3575) can connect to the mount and drive it at the same time using the ASCOM Generic Hub driver ahead of the iOptron driver. But when I try to add Sharpcap to the mix, it pops up a messagebox saying "Error connecting to ASCOM mount. Object required. (I have also tried connecting Sharpcap directly to the mount without the use of Generic Hub and it fails in the same way.)
The camera is a ZWO ASI224MC, computer is a HP laptop running Windows 10 64-bit Version 1703 Build 10563.540. Same problem occurs on an Asus netbook running Windows 10 32-bit.
A Sharpcap log is attached. The pertinent lines seem to be around the following:
Connected to a scope driver with the following information:
iOptron Telescope ASCOM Driver 2.1 Copyright (c) 2007-2011, iOptron Telescope, 2.1
Debug: 11:08:50.8945627 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Started
Debug: 11:08:50.8955630 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Ended
Debug: 11:08:50.9557123 Thread:#1 SharpCap.Models.Camera.<ImplOnOnCaptureEvent>b__16_0() :: Status update after capture complete.
Info: 11:08:50.9557123 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Error: 11:08:51.1008341 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception from Calling IDispatch method : AxisRates : 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.CallMethodT[T](String name, Object[] oParams) in C:\Documents\Source Code\SharpCap3.0\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 75
Error: 11:08:51.1018687 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Inner Exception : System.Runtime.InteropServices.COMException (0x800A01A8): Object required
Error: 11:08:51.1018687 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception from Couldn't get slew rates via IEnumerable : Object required
The camera is a ZWO ASI224MC, computer is a HP laptop running Windows 10 64-bit Version 1703 Build 10563.540. Same problem occurs on an Asus netbook running Windows 10 32-bit.
A Sharpcap log is attached. The pertinent lines seem to be around the following:
Connected to a scope driver with the following information:
iOptron Telescope ASCOM Driver 2.1 Copyright (c) 2007-2011, iOptron Telescope, 2.1
Debug: 11:08:50.8945627 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Started
Debug: 11:08:50.8955630 Thread:#1 SharpCap.Cameras.NewDirectShow.FrameRatePropertyControl.PopulateValueList() :: Ended
Debug: 11:08:50.9557123 Thread:#1 SharpCap.Models.Camera.<ImplOnOnCaptureEvent>b__16_0() :: Status update after capture complete.
Info: 11:08:50.9557123 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Error: 11:08:51.1008341 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception from Calling IDispatch method : AxisRates : 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.CallMethodT[T](String name, Object[] oParams) in C:\Documents\Source Code\SharpCap3.0\src\SharpCap.MountProxy.ASCOM\MountDispatchProxy.cs:line 75
Error: 11:08:51.1018687 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Inner Exception : System.Runtime.InteropServices.COMException (0x800A01A8): Object required
Error: 11:08:51.1018687 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception from Couldn't get slew rates via IEnumerable : Object required