g2-1600 Moravian Instruments CCD

rfa
Posts: 20
Joined: Fri Oct 26, 2018 10:34 am

Re: g2-1600 Moravian Instruments CCD

#11

Post by rfa »

Hi Robin,
I tried to connect the G2-1600 through the Win10 64-bit driver. and receive the following errorImage.
Any idea what that mean?
Best regards rfa
Attachments
Screenshot 2020-12-15 201537.jpg
Screenshot 2020-12-15 201537.jpg (35.03 KiB) Viewed 2427 times
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: g2-1600 Moravian Instruments CCD

#12

Post by admin »

Hi,

the uploaded bug report from this shows that the version is still 3.3.7033 - please try with the very latest 3.3.7051 which you can find on the beta downloads page : https://www.sharpcap.co.uk/sharpcap/sha ... s/3-3-beta

cheers,

Robin
rfa
Posts: 20
Joined: Fri Oct 26, 2018 10:34 am

Re: g2-1600 Moravian Instruments CCD

#13

Post by rfa »

Hi,
just downloaded and installed 3.3 beta. Congratulation - now also the Win10 native driver from Moravian Instruments is working properly. Many thanks, rfa
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: g2-1600 Moravian Instruments CCD

#14

Post by admin »

Hi,

thanks for letting me know – it's good to hear that that issue is now cleared up :-)

Cheers, Robin
rfa
Posts: 20
Joined: Fri Oct 26, 2018 10:34 am

Re: g2-1600 Moravian Instruments CCD

#15

Post by rfa »

Hi Robin,
already tried the 3.3 version; camera connections works also with Win10 native driver. Connect to SiTech mount controller works, also the connection to my ASA ACC ascom fokuser.
BUT I CANNOT CONNECT MY FILTER-WHEEL, either through the native nor through ascom driver. Always receive this failure message:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:Zeile 293.
bei ASCOM.DriverAccess.FilterWheel.get_Names() in C:\ASCOM Build\Export\ASCOM.DriverAccess\FilterWheel.cs:Zeile 87.
bei SharpCap.WheelProxy.ASCOM.WheelWrapper.GetFilterNames() in C:\Documents\Source Code\SharpCap\src\SharpCap.WheelProxy.ASCOM\WheelWrapper.cs:Zeile 42.
bei SharpCap.Models.Wheel.get_FilterNames() in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Wheel.cs:Zeile 112.
bei SharpCap.Base.PropertyControls.WheelPropertyControl.WheelFeature.Refresh() in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\PropertyControls\WheelPropertyControl.cs:Zeile 64.
bei SharpCap.Base.PropertyControls.WheelPropertyControl.Refresh() in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\PropertyControls\WheelPropertyControl.cs:Zeile 107.
bei SharpCap.ViewModels.WheelViewModel.set_Connected(Boolean value) in C:\Documents\Source Code\SharpCap\src\SharpCap\ViewModels\WheelViewModel.cs:Zeile 43.
bei SharpCap.ViewModels.WheelViewModel.PropertyOnConnectedChanged(Object sender, EventArgs eventArgs) in C:\Documents\Source Code\SharpCap\src\SharpCap\ViewModels\WheelViewModel.cs:Zeile 28.
bei SharpCap.Base.PropertyControls.WheelPropertyControl.OnConnectedChanged() in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\PropertyControls\WheelPropertyControl.cs:Zeile 134.
bei SharpCap.Base.PropertyControls.WheelPropertyControl.WheelOnConnectedChanged(Object sender, EventArgs eventArgs) in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\PropertyControls\WheelPropertyControl.cs:Zeile 91.
bei SharpCap.Models.ConnectableHardware.OnConnectedChanged() in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:Zeile 25.
bei SharpCap.Utils.ExtensionMethods.<>c__DisplayClass14_0.<RunSyncInUIThread>b__0() in C:\Documents\Source Code\SharpCap\src\SharpCap\Utils\ExtensionMethods.cs:Zeile 192.
bei SharpCap.Utils.ExtensionMethods.RunSyncInUIThread[T](DispatcherObject target, Func`1 action) in C:\Documents\Source Code\SharpCap\src\SharpCap\Utils\ExtensionMethods.cs:Zeile 205.
bei SharpCap.Utils.ExtensionMethods.RunSyncInUIThread(DispatcherObject target, Action action) in C:\Documents\Source Code\SharpCap\src\SharpCap\Utils\ExtensionMethods.cs:Zeile 190.
bei SharpCap.Models.Wheel.set_Connected(Boolean value) in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Wheel.cs:Zeile 93.
bei SharpCap.Models.Wheel.ShowProperties(IWin32Window parent) in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Wheel.cs:Zeile 75.
bei SharpCap.Base.PropertyControls.WheelPropertyControl.ShowProperties(IWin32Window parentWindow) in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\PropertyControls\WheelPropertyControl.cs:Zeile 101.
bei SharpCap.ViewModels.DiscreteValueViewModel.<>c__DisplayClass15_0.<.ctor>b__1(Object x) in C:\Documents\Source Code\SharpCap\src\SharpCap\ViewModels\DiscreteValueViewModel.cs:Zeile 61.
bei SharpCap.Base.LambdaCommand.Execute(Object parameter) in C:\Documents\Source Code\SharpCap\src\SharpCap.Base\LambdaCommand.cs:Zeile 62.
bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
bei System.Windows.Controls.Button.OnClick()
bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Best regards, rfa
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: g2-1600 Moravian Instruments CCD

#16

Post by admin »

Hi,

what type of filter will you using? It looks like the Ascom driver for the wheel is having an internal error when SharpCap asks it for the list of filter names. If there's a way to set the names of the filters in the wheel setup dialog then I would try setting those names to see if that fixes the problem. It would also be worth seeing if there's an update for the Ascom driver available, as this is the sort of bug that the driver developer should really fix.

The Ascom documentation indicates that asking for the filter name should always give a result (and give 'Filter 1', 'Filter 2', etc if the names haven't been set), this is why SharpCap doesn't expect to receive an error from making this request - https://ascom-standards.org/Help/Develo ... _Names.htm

Cheers, Robin
rfa
Posts: 20
Joined: Fri Oct 26, 2018 10:34 am

Re: g2-1600 Moravian Instruments CCD

#17

Post by rfa »

Hi Robin,
I have installed and tired SharpCap vers. 3.3. Now the G2-1600 is known as well as native or Ascom driver. Now it works fine.
BUT the filter wheel does not work and cannot connect; as well using native or Ascom driver. The message which appears is the same like with the camera driver earlier.
Could you please solve also this problem?
Thank you very much.
rfa
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: g2-1600 Moravian Instruments CCD

#18

Post by admin »

Hi,

as far as I can tell this isn't something I can fix in SharpCap - for an ASCOM filter wheel to be usable it *must* respond correctly to the request for the list of filter names. Your wheel driver is giving an error when SharpCap makes this request. One important reason for this is that getting the list of filter names lets SharpCap work out how many filters are on the wheel!

You will need to report this problem to the people who make your filter wheel, sorry.

cheers,

Robin
Post Reply