Auto focus error in new version
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]
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]
Auto focus error in new version
Error: Aborting focuser scan because the focuser failed to report a settled state
Sharpcap version: v4.1.13041.0
Focuser: Gemini Focuser Pro
This is a new bug. In previous version of Sharpcap focus scan worked well. In this version, I get this bug. Sharpcap can control the focuser manually without problem, including backlash, but when trying focus scan I get this error.
Here is the part in the log with the error:
SharpCap.Base.PropertyControls.FileSelectionControlBase.LoadFrame(string selectedFile)
Debug 19:23:41.661890 #1 Ended void SharpCap.Base.CameraProxyBase.StartPreview() in void SharpCap.Base.CameraProxyBase.StartPreview()
Debug 19:23:41.665012 #1 Ended void SharpCap.Base.BaseImageProvider.Start() in void SharpCap.Base.BaseImageProvider.Start()
Info 19:23:41.668715 #1 Capture Event : StartPreview in void SharpCap.MultiCaptureProvider.SendCaptureEvent(object sender, CaptureEventArgs e)
Info 19:23:41.696957 #1 Connecting to focuser Device Hub Focuser in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Info 19:23:41.759880 #26 =='ASCOM UI Thread for Focuser' (New Thread)
Info 19:23:41.759935 #26 Connecting to focuser : Device Hub Focuser in void SharpCap.Models.Focuser.set_Connected(bool value)
Debug 19:23:41.761263 #26 Started IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id) in IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id)
Debug 19:23:41.762382 #26 Started new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name)
Debug 19:23:41.763495 #26 Started new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Info 19:23:41.763719 #26 Creating ASCOM Focuser of type ASCOM.DeviceHub.Focuser ('Device Hub Focuser') in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Info 19:23:41.778705 #1 Did not find sensor characteristics at C:\Program Files\SharpCap 4.1 (64 bit)\SensorLibrary.bin:Test Camera 1 (Deep Sky)~RGB24.json in SensorCharacteristics SharpCap.CameraAnalysis.SensorLibrary.LoadImpl(string normalizeCameraName, string colourSpace, string cameraMode, bool speculative)
Info 19:23:41.789464 #1 Did not find sensor characteristics at C:\Program Files\SharpCap 4.1 (64 bit)\SensorLibrary.bin:Test Camera 1 (Deep Sky)~RAW8.json in SensorCharacteristics SharpCap.CameraAnalysis.SensorLibrary.LoadImpl(string normalizeCameraName, string colourSpace, string cameraMode, bool speculative)
Info 19:23:41.826339 #1 Ended void SharpCap.Base.CaptureProviderBase<T>.StartPreview(PreviewChangeReason reason) in void SharpCap.Base.CaptureProviderBase<T>.StartPreview(PreviewChangeReason reason)
Info 19:23:41.843198 #1 Changing output format to SER file (*.ser) for short exposure based on user preference of ser in void SharpCap.Base.FileWriters.OutputFormatChooser.SetAppropriateFormat(bool longExposure)
Debug 19:23:41.850398 #1 Ended (Profile applied) bool SharpCap.Models.Camera.ApplyDefaultProfile() in bool SharpCap.Models.Camera.ApplyDefaultProfile()
Info 19:23:41.868592 #1 Plate solver detection : Manually configured Astrometry - Not configured in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.880985 #1 Plate solver detection : AstroTortilla - Not detected in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.882663 #1 Plate solver detection : All Sky Plate Solver - Not found at C:\Users\nirzo\AppData\Local\Astrometry in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.883174 #1 Plate solver detection : Ansvr - Not found at C:\Users\nirzo\AppData\Local\cygwin_ansvr in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.883622 #1 Plate solver detection : Cygwin/Astrometry based - Not found at C:\cygwin in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.884654 #1 Plate solver detection : Astap (manual location) - Not configured in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.885199 #1 Plate solver detection : Astap (auto-detect) - Not found at c:\Program Files (x86)\Astap\Astap.exe in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.891129 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.OpenCameraAction Test Camera 1 (Deep Sky) complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Debug 19:23:43.192538 #26 Ended new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Debug 19:23:43.208110 #26 Ended new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name)
Debug 19:23:43.208577 #26 Ended IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id) in IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id)
Info 19:23:43.213170 #26 Configuring focuser overshoot compensation with overshoot of 70, approch inwards is False in void SharpCap.Models.OvershootProxy.SetupParameters()
Info 19:23:48.264230 #1 Focuser 'Device Hub Focuser' now Conneted:True in void SharpCap.Models.ConnectableHardware<T>.OnConnectedChanged(IApplication app)+() => { }
Info 19:23:48.297635 #1 Connecting to mount Meade Generic in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Info 19:23:48.383539 #30 =='ASCOM UI Thread for Mount' (New Thread)
Info 19:23:48.383560 #30 Connecting to mount : Meade Generic in void SharpCap.Models.Mount.set_Connected(bool value)
Info 19:23:48.385681 #30 Creating mount proxy to control Meade Generic in IMountProxy SharpCap.Models.Mount.CreateProxy()
Debug 19:23:48.387526 #30 Started new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource) in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:48.387727 #30 Creating ASCOM Telescope mount of type ASCOM.MeadeGeneric.Telescope ('Meade Generic') in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:49.051058 #30 Using a MeadeProxy to try to get working MoveAxis on this mount in void SharpCap.MountProxy.ASCOM.MountWrapper.TryApplySpecialMountBehaviour(bool secondTry)
Info 19:23:49.062872 #30 Created ASCOM Telescope mount Meade Generic (Meade Generic), Version=1.3.9.482, InterfaceVersion=3, Info=Meade Generic .net driver. Version: 1.3.9.482 in SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)+() => { }
Debug 19:23:49.063370 #30 Ended new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource) in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:49.635816 #30 The mount claims to be Meade Generic, Meade Generic .net driver. Version: 1.3.9.482, Meade Generic, 1.3.9.482 in void SharpCap.MountProxy.ASCOM.MountWrapper.DoMountInitialization()
Info 19:23:49.660740 #30 The mount reports an alignment mode of GermanPolar in void SharpCap.MountProxy.ASCOM.MountWrapper.DoMountInitialization()
Info 19:23:49.851335 #30 Available RA tracking rates from mount are Sidereal, Lunar in IEnumerable<TrackingRate> SharpCap.MountProxy.ASCOM.MountWrapper.GetSupportedTrackingRates()
Warning 19:23:50.488696 #30 Your ASCOM mount did not report the target position : Exception of type 'InvalidOperationException' : Target not set
Stack Trace: at void ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(string memberName, Exception e) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 205
at bool ASCOM.Com.DriverAccess.DynamicAccess.TryGetMember(GetMemberBinder binder, out object result) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 150
at object CallSite.Target(Closure, CallSite, object)
at TRet System.Dynamic.UpdateDelegates.UpdateAndExecute1<T0, TRet>(CallSite site, T0 arg0)
at double ASCOM.Com.DriverAccess.Telescope.get_TargetRightAscension() in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/Telescope.cs:line 422
at double SharpCap.MountProxy.ASCOM.MountInterceptionProxy.get_TargetRightAscension() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountInterceptionProxy.cs:line 435
at double SharpCap.MountProxy.ASCOM.MeadeProxy.get_TargetRightAscension() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MeadeProxy.cs:line 409
at RADecPosition SharpCap.MountProxy.ASCOM.MountWrapper.get_TargetPosition() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountWrapper.cs:line 115
at void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/RefreshMountProxy.cs:line 412 in void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl()
Warning 19:23:50.489310 #30 Inner Exception : System.Runtime.InteropServices.COMException (0x8004040B): Target not set in void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl()
Warning 19:23:50.572064 #30 Mount time of 2025-01-26T17:23:49.0000000 differs from system time 2025-01-27T17:23:50.4999789Z by -1440.0 minutes in void SharpCap.Models.Mount.CheckMountTime()
Info 19:23:50.574917 #30 Mount reports sidereal time of 4.2099687788442575, system calculated sidereal time is 4.210107338506149, offset is -0.5s, based on longitude of 34.94999999999999 calculated at 2025-01-27T17:23:50.5736486Z in void SharpCap.Models.Mount.CheckMountTime()
Debug 19:23:50.575291 #1 Notification (Status=Warning): The mount reports a time of 2025-01-26T17:23:49.0000000, which differs from the PC time by -1440.0 minutes. This may cause issues with mount movements. in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:23:50.587634 #1 Mount 'Meade Generic' now Conneted:True in void SharpCap.Models.ConnectableHardware<T>.OnConnectedChanged(IApplication app)+() => { }
Info 19:23:50.608176 #1 Done merging in hardware controls in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Warning 19:23:50.700506 #1 No view model mapping for SharpCap.Cameras.Fake.FakeST4 ST4 Guide Port in IControlViewModel SharpCap.ViewModels.ControlFormViewModel.CreateViewModel(IBasePropertyControl control)
Debug 19:23:51.483658 #1 Started new SharpCap.UI.Hardware.MountControl(Mount model) in new SharpCap.UI.Hardware.MountControl(Mount model)
Debug 19:23:51.486129 #1 Started new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app) in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Debug 19:23:51.489150 #1 Ended new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app) in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Info 19:23:51.489450 #1 Triggering mount initialization in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Debug 19:23:51.542204 #1 Started new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app) in new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app)
Debug 19:23:51.544884 #1 Ended new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app) in new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app)
Info 19:23:51.570525 #12 =='Display Update' (New Thread)
Warning 19:23:51.570562 #12 Obtaining lease on WriteableBitmap took 554ms in WriteableBitmapWriteLease SharpCap.Base.WPFFrameDisplay.GetWriteableBitmapLease(Size size, PixelFormat pixelFormat)
Debug 19:23:51.574739 #1 Started void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.575035 #1 Dispatcher disable count is 0 in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.647491 #1 Axis 0 has 4 slew rates. in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.649658 #1 Slew rates are : 1-1, 2-2, 3-3, 4-4 in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.672508 #1 Axis 1 has 4 slew rates. in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.672932 #1 Slew rates are : 1-1, 2-2, 3-3, 4-4 in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.691527 #1 Testing slew rates for availability : 0.004178074623790057, 0.008356149247580115, 0.01671229849516023, 0.03342459699032046, 0.06684919398064092, 0.13369838796128183, 0.25068447742740346, 0.5013689548548069, 1, 1.000000017408644, 2, 2.0054758194192277, 3, 3.0082137291288413, 4, 4.010951638838455, 8.02190327767691, 20.054758194192274, 40.10951638838455, 50.136895485480686 in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.694879 #1 Slew rate of 0.004178074623790057 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695174 #1 Slew rate of 0.008356149247580115 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695496 #1 Slew rate of 0.01671229849516023 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695780 #1 Slew rate of 0.03342459699032046 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696147 #1 Slew rate of 0.06684919398064092 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696467 #1 Slew rate of 0.13369838796128183 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696746 #1 Slew rate of 0.25068447742740346 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697023 #1 Slew rate of 0.5013689548548069 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697517 #1 Slew rate of 2.0054758194192277 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697808 #1 Slew rate of 3.0082137291288413 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698100 #1 Slew rate of 4.010951638838455 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698448 #1 Slew rate of 8.02190327767691 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698743 #1 Slew rate of 20.054758194192274 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.699048 #1 Slew rate of 40.10951638838455 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.699323 #1 Slew rate of 50.136895485480686 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.703106 #1 Removing slew rate 239.3447x, 1.000 deg/s as it is close to 239.34469583333336x, 1.000 deg/s in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.703855 #1 After testing, the following slew rates are valid : 239.34469583333336x, 1.000 deg/s, 478.6893916666667x, 2.000 deg/s, 718.0340875x, 3.000 deg/s, 957.3787833333334x, 4.000 deg/s in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.704680 #1 Meade Generic has 4 available slew rates. in ObservableCollection<MountRate> SharpCap.ViewModels.MountViewModel.CreateRates()
Info 19:23:51.706251 #1 Slew rates set in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.720860 #1 Ended void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.721673 #1 Started void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.721905 #1 Dispatcher disable count is 0 in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.722171 #1 Meade Generic has 4 available slew rates. in ObservableCollection<MountRate> SharpCap.ViewModels.MountViewModel.CreateRates()
Info 19:23:51.722526 #1 Slew rates set in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.723670 #1 Ended void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.997111 #1 StartPreview event received in UI thread in async void SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(object sender, CaptureEventArgs e)
Debug 19:23:52.147831 #1 Started void SharpCap.ViewModels.FocuserViewModel.Initialize() in void SharpCap.ViewModels.FocuserViewModel.Initialize()
Debug 19:23:52.150349 #1 Started void SharpCap.ViewModels.FocuserViewModel.InitializeImpl() in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Info 19:23:52.163364 #1 Initializing Device Hub Focuser, MaxPosition = 10000, MaxChange = 10000, TempCompAvailable = True in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Debug 19:23:52.167948 #1 Ended void SharpCap.ViewModels.FocuserViewModel.InitializeImpl() in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Debug 19:23:53.151333 #1 User clicked on notification button Set Mount Time to PC Time in void SharpCap.UI.NotificationViewModel.HandleButtonPress(NotificationButton button)
Warning 19:23:53.273285 #1 Failed to set mount time : Exception of type 'TargetInvocationException' : Exception has been thrown by the target of an invocation.
Stack Trace: at object System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(object obj, Span<object> copyOfArgs, BindingFlags invokeAttr)
at object System.Reflection.MethodBaseInvoker.InvokeWithOneArg(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
at object System.Reflection.MethodBase.Invoke(object obj, object[] parameters)
at object SharpCap.Base.Utilities.RetryProxy<T>.Invoke(MethodInfo targetMethod, object[] args) in C:/Documents/Source Code/SharpCap/src/SharpCap.Base/Utilities/RetryProxy.cs:line 26
at void generatedProxy_2.set_UTCDate(DateTime)
at void SharpCap.Models.Mount.TrySetMountTime() in C:/Documents/Source Code/SharpCap/src/SharpCap/Models/Mount.cs:line 343 in void SharpCap.Models.Mount.TrySetMountTime()
Warning 19:23:53.273588 #1 Inner Exception : ASCOM.InvalidOperationException: Failed to set local date
---> System.Runtime.InteropServices.COMException (0x8004040B): Failed to set local date
--- End of inner exception stack trace ---
at void ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(string memberName, Exception e) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 205
at bool ASCOM.Com.DriverAccess.DynamicAccess.TrySetMember(SetMemberBinder binder, object value) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 105
at object CallSite.Target(Closure, CallSite, object, DateTime)
at TRet System.Dynamic.UpdateDelegates.UpdateAndExecute2<T0, T1, TRet>(CallSite site, T0 arg0, T1 arg1)
at void ASCOM.Com.DriverAccess.Telescope.set_UTCDate(DateTime value) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/Telescope.cs:line 479
at void SharpCap.MountProxy.ASCOM.MountInterceptionProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountInterceptionProxy.cs:line 468
at void SharpCap.MountProxy.ASCOM.MeadeProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MeadeProxy.cs:line 430
at void SharpCap.MountProxy.ASCOM.MountWrapper.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountWrapper.cs:line 110
at void SharpCap.MountProxy.ASCOM.RefreshMountProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/RefreshMountProxy.cs:line 98
at object RuntimeMethodHandle.InvokeMethod(object target, Void** arguments, Signature sig, bool isConstructor)
at object System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(object obj, Span<object> copyOfArgs, BindingFlags invokeAttr) in void SharpCap.Models.Mount.TrySetMountTime()
Warning 19:23:53.273850 #1 Inner Exception : System.Runtime.InteropServices.COMException (0x8004040B): Failed to set local date in void SharpCap.Models.Mount.TrySetMountTime()
Debug 19:23:53.274406 #1 Notification (Status=Warning): The mount failed to report its current time. SharpCap tried to set the mount time and that failed too. Incorrect mount time may cause incorrect mount movements. in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:23:59.813793 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.TransformAction Multi-Star FWHM Measurement executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:23:59.814898 #1 Changing transform from None to Multi-Star FWHM Measurement due to button click on Multi-Star FWHM Measurement in void SharpCap.ViewModels.Actions.TransformAction.ExecuteSync()
Info 19:23:59.815285 #1 Selecting transform Multi-Star FWHM Measurement in void SharpCap.Models.Transforms.set_SelectedTransform(ITransform value)
Info 19:23:59.815778 #1 Requesting creation of Multi-Star FWHM Measurement transform in object SharpCap.Models.Transform.CreateInUIThread()
Info 19:23:59.817594 #1 Created Multi-Star FWHM Measurement transform in object SharpCap.Models.Transform.CreateInUIThread()+() => { }
Info 19:24:00.106089 #1 Loading SharpCap.FrameTransforms.Focus.WPFFocusScoreControl, MinHeight is 220, ActualHeight is 0 in void SharpCap.New.DockingArea.SetToolContent(Control value)
Info 19:24:00.114614 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.TransformAction Multi-Star FWHM Measurement complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:24:23.086429 #1 Starting scan from 5000 in Positive, 3 steps of 20 with 3 samples at each step in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:23.087033 #1 Selection area enabled is False, area is {X=0,Y=0,Width=1280,Height=960} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:23.123484 #1 BlackLevel=0.1, ReduceNoiseAmount=1, ScoreSelectionMode=Average, Averaging=2.00s, Normalize=False, {"AdditionalNoiseReduction":0.5,"SuppressHotPixels":true,"Sensitivity":90,"UseDisplayStretch":true,"MaxBrightness":55.0,"StarCount":35} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Debug 19:24:23.182152 #1 Notification (Status=Warning): Focuser scan in progress - step 1 of 10. Moving to position 5020 in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Debug 19:24:29.066155 #1 Notification (Status=Error): Aborting focuser scan because the focuser failed to report a settled state after reaching target, waiting settling time and an additional 5s in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:24:29.080795 #1 At end of scan, status is NoPattern in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 19:24:29.081048 #1 No focus data at end of scan for direction Positive in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 19:24:29.084760 #1 Focus scan complete/cancelled - no best fit in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:33.139518 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:24:33.177008 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Sharpcap version: v4.1.13041.0
Focuser: Gemini Focuser Pro
This is a new bug. In previous version of Sharpcap focus scan worked well. In this version, I get this bug. Sharpcap can control the focuser manually without problem, including backlash, but when trying focus scan I get this error.
Here is the part in the log with the error:
SharpCap.Base.PropertyControls.FileSelectionControlBase.LoadFrame(string selectedFile)
Debug 19:23:41.661890 #1 Ended void SharpCap.Base.CameraProxyBase.StartPreview() in void SharpCap.Base.CameraProxyBase.StartPreview()
Debug 19:23:41.665012 #1 Ended void SharpCap.Base.BaseImageProvider.Start() in void SharpCap.Base.BaseImageProvider.Start()
Info 19:23:41.668715 #1 Capture Event : StartPreview in void SharpCap.MultiCaptureProvider.SendCaptureEvent(object sender, CaptureEventArgs e)
Info 19:23:41.696957 #1 Connecting to focuser Device Hub Focuser in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Info 19:23:41.759880 #26 =='ASCOM UI Thread for Focuser' (New Thread)
Info 19:23:41.759935 #26 Connecting to focuser : Device Hub Focuser in void SharpCap.Models.Focuser.set_Connected(bool value)
Debug 19:23:41.761263 #26 Started IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id) in IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id)
Debug 19:23:41.762382 #26 Started new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name)
Debug 19:23:41.763495 #26 Started new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Info 19:23:41.763719 #26 Creating ASCOM Focuser of type ASCOM.DeviceHub.Focuser ('Device Hub Focuser') in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Info 19:23:41.778705 #1 Did not find sensor characteristics at C:\Program Files\SharpCap 4.1 (64 bit)\SensorLibrary.bin:Test Camera 1 (Deep Sky)~RGB24.json in SensorCharacteristics SharpCap.CameraAnalysis.SensorLibrary.LoadImpl(string normalizeCameraName, string colourSpace, string cameraMode, bool speculative)
Info 19:23:41.789464 #1 Did not find sensor characteristics at C:\Program Files\SharpCap 4.1 (64 bit)\SensorLibrary.bin:Test Camera 1 (Deep Sky)~RAW8.json in SensorCharacteristics SharpCap.CameraAnalysis.SensorLibrary.LoadImpl(string normalizeCameraName, string colourSpace, string cameraMode, bool speculative)
Info 19:23:41.826339 #1 Ended void SharpCap.Base.CaptureProviderBase<T>.StartPreview(PreviewChangeReason reason) in void SharpCap.Base.CaptureProviderBase<T>.StartPreview(PreviewChangeReason reason)
Info 19:23:41.843198 #1 Changing output format to SER file (*.ser) for short exposure based on user preference of ser in void SharpCap.Base.FileWriters.OutputFormatChooser.SetAppropriateFormat(bool longExposure)
Debug 19:23:41.850398 #1 Ended (Profile applied) bool SharpCap.Models.Camera.ApplyDefaultProfile() in bool SharpCap.Models.Camera.ApplyDefaultProfile()
Info 19:23:41.868592 #1 Plate solver detection : Manually configured Astrometry - Not configured in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.880985 #1 Plate solver detection : AstroTortilla - Not detected in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.882663 #1 Plate solver detection : All Sky Plate Solver - Not found at C:\Users\nirzo\AppData\Local\Astrometry in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.883174 #1 Plate solver detection : Ansvr - Not found at C:\Users\nirzo\AppData\Local\cygwin_ansvr in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.883622 #1 Plate solver detection : Cygwin/Astrometry based - Not found at C:\cygwin in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.884654 #1 Plate solver detection : Astap (manual location) - Not configured in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.885199 #1 Plate solver detection : Astap (auto-detect) - Not found at c:\Program Files (x86)\Astap\Astap.exe in bool SharpCap.ImageProcessing.PlateSolving.CombinedPlateSolveFactory.CheckInstalledImpl()
Info 19:23:41.891129 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.OpenCameraAction Test Camera 1 (Deep Sky) complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Debug 19:23:43.192538 #26 Ended new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocusAdaptor(string id, string name)
Debug 19:23:43.208110 #26 Ended new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name) in new Sharpcap.FocuserProxy.ASCOM.FocuserWrapper(string id, string name)
Debug 19:23:43.208577 #26 Ended IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id) in IFocuserProxy SharpCap.FocuserFinder.GetFocuser(string id)
Info 19:23:43.213170 #26 Configuring focuser overshoot compensation with overshoot of 70, approch inwards is False in void SharpCap.Models.OvershootProxy.SetupParameters()
Info 19:23:48.264230 #1 Focuser 'Device Hub Focuser' now Conneted:True in void SharpCap.Models.ConnectableHardware<T>.OnConnectedChanged(IApplication app)+() => { }
Info 19:23:48.297635 #1 Connecting to mount Meade Generic in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Info 19:23:48.383539 #30 =='ASCOM UI Thread for Mount' (New Thread)
Info 19:23:48.383560 #30 Connecting to mount : Meade Generic in void SharpCap.Models.Mount.set_Connected(bool value)
Info 19:23:48.385681 #30 Creating mount proxy to control Meade Generic in IMountProxy SharpCap.Models.Mount.CreateProxy()
Debug 19:23:48.387526 #30 Started new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource) in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:48.387727 #30 Creating ASCOM Telescope mount of type ASCOM.MeadeGeneric.Telescope ('Meade Generic') in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:49.051058 #30 Using a MeadeProxy to try to get working MoveAxis on this mount in void SharpCap.MountProxy.ASCOM.MountWrapper.TryApplySpecialMountBehaviour(bool secondTry)
Info 19:23:49.062872 #30 Created ASCOM Telescope mount Meade Generic (Meade Generic), Version=1.3.9.482, InterfaceVersion=3, Info=Meade Generic .net driver. Version: 1.3.9.482 in SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)+() => { }
Debug 19:23:49.063370 #30 Ended new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource) in new SharpCap.MountProxy.ASCOM.MountWrapper(string deviceName, string progId, IUIDisableSource disableSource)
Info 19:23:49.635816 #30 The mount claims to be Meade Generic, Meade Generic .net driver. Version: 1.3.9.482, Meade Generic, 1.3.9.482 in void SharpCap.MountProxy.ASCOM.MountWrapper.DoMountInitialization()
Info 19:23:49.660740 #30 The mount reports an alignment mode of GermanPolar in void SharpCap.MountProxy.ASCOM.MountWrapper.DoMountInitialization()
Info 19:23:49.851335 #30 Available RA tracking rates from mount are Sidereal, Lunar in IEnumerable<TrackingRate> SharpCap.MountProxy.ASCOM.MountWrapper.GetSupportedTrackingRates()
Warning 19:23:50.488696 #30 Your ASCOM mount did not report the target position : Exception of type 'InvalidOperationException' : Target not set
Stack Trace: at void ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(string memberName, Exception e) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 205
at bool ASCOM.Com.DriverAccess.DynamicAccess.TryGetMember(GetMemberBinder binder, out object result) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 150
at object CallSite.Target(Closure, CallSite, object)
at TRet System.Dynamic.UpdateDelegates.UpdateAndExecute1<T0, TRet>(CallSite site, T0 arg0)
at double ASCOM.Com.DriverAccess.Telescope.get_TargetRightAscension() in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/Telescope.cs:line 422
at double SharpCap.MountProxy.ASCOM.MountInterceptionProxy.get_TargetRightAscension() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountInterceptionProxy.cs:line 435
at double SharpCap.MountProxy.ASCOM.MeadeProxy.get_TargetRightAscension() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MeadeProxy.cs:line 409
at RADecPosition SharpCap.MountProxy.ASCOM.MountWrapper.get_TargetPosition() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountWrapper.cs:line 115
at void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl() in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/RefreshMountProxy.cs:line 412 in void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl()
Warning 19:23:50.489310 #30 Inner Exception : System.Runtime.InteropServices.COMException (0x8004040B): Target not set in void SharpCap.MountProxy.ASCOM.RefreshMountProxy.RefreshImpl()
Warning 19:23:50.572064 #30 Mount time of 2025-01-26T17:23:49.0000000 differs from system time 2025-01-27T17:23:50.4999789Z by -1440.0 minutes in void SharpCap.Models.Mount.CheckMountTime()
Info 19:23:50.574917 #30 Mount reports sidereal time of 4.2099687788442575, system calculated sidereal time is 4.210107338506149, offset is -0.5s, based on longitude of 34.94999999999999 calculated at 2025-01-27T17:23:50.5736486Z in void SharpCap.Models.Mount.CheckMountTime()
Debug 19:23:50.575291 #1 Notification (Status=Warning): The mount reports a time of 2025-01-26T17:23:49.0000000, which differs from the PC time by -1440.0 minutes. This may cause issues with mount movements. in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:23:50.587634 #1 Mount 'Meade Generic' now Conneted:True in void SharpCap.Models.ConnectableHardware<T>.OnConnectedChanged(IApplication app)+() => { }
Info 19:23:50.608176 #1 Done merging in hardware controls in async Task SharpCap.Models.Application.MergeInDeviceIndependentControls(CaptureControl controls, CancellationToken cancellationToken)
Warning 19:23:50.700506 #1 No view model mapping for SharpCap.Cameras.Fake.FakeST4 ST4 Guide Port in IControlViewModel SharpCap.ViewModels.ControlFormViewModel.CreateViewModel(IBasePropertyControl control)
Debug 19:23:51.483658 #1 Started new SharpCap.UI.Hardware.MountControl(Mount model) in new SharpCap.UI.Hardware.MountControl(Mount model)
Debug 19:23:51.486129 #1 Started new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app) in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Debug 19:23:51.489150 #1 Ended new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app) in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Info 19:23:51.489450 #1 Triggering mount initialization in new SharpCap.ViewModels.MountViewModel(IMount model, IApplication app)
Debug 19:23:51.542204 #1 Started new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app) in new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app)
Debug 19:23:51.544884 #1 Ended new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app) in new SharpCap.ViewModels.FocuserViewModel(IFocuser adaptor, IUIProvider uiProvider, IApplication app)
Info 19:23:51.570525 #12 =='Display Update' (New Thread)
Warning 19:23:51.570562 #12 Obtaining lease on WriteableBitmap took 554ms in WriteableBitmapWriteLease SharpCap.Base.WPFFrameDisplay.GetWriteableBitmapLease(Size size, PixelFormat pixelFormat)
Debug 19:23:51.574739 #1 Started void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.575035 #1 Dispatcher disable count is 0 in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.647491 #1 Axis 0 has 4 slew rates. in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.649658 #1 Slew rates are : 1-1, 2-2, 3-3, 4-4 in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.672508 #1 Axis 1 has 4 slew rates. in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.672932 #1 Slew rates are : 1-1, 2-2, 3-3, 4-4 in Tuple<double, double>[] SharpCap.MountProxy.ASCOM.MountWrapper.GetSlewRatesViaIndexing(int axis)
Info 19:23:51.691527 #1 Testing slew rates for availability : 0.004178074623790057, 0.008356149247580115, 0.01671229849516023, 0.03342459699032046, 0.06684919398064092, 0.13369838796128183, 0.25068447742740346, 0.5013689548548069, 1, 1.000000017408644, 2, 2.0054758194192277, 3, 3.0082137291288413, 4, 4.010951638838455, 8.02190327767691, 20.054758194192274, 40.10951638838455, 50.136895485480686 in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.694879 #1 Slew rate of 0.004178074623790057 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695174 #1 Slew rate of 0.008356149247580115 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695496 #1 Slew rate of 0.01671229849516023 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.695780 #1 Slew rate of 0.03342459699032046 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696147 #1 Slew rate of 0.06684919398064092 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696467 #1 Slew rate of 0.13369838796128183 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.696746 #1 Slew rate of 0.25068447742740346 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697023 #1 Slew rate of 0.5013689548548069 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697517 #1 Slew rate of 2.0054758194192277 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.697808 #1 Slew rate of 3.0082137291288413 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698100 #1 Slew rate of 4.010951638838455 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698448 #1 Slew rate of 8.02190327767691 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.698743 #1 Slew rate of 20.054758194192274 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.699048 #1 Slew rate of 40.10951638838455 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.699323 #1 Slew rate of 50.136895485480686 is not allowed for axis 0 in bool SharpCap.MountProxy.ASCOM.MountWrapper.IsAllowed(double d, Tuple<double, double>[] axisRates, int i)
Info 19:23:51.703106 #1 Removing slew rate 239.3447x, 1.000 deg/s as it is close to 239.34469583333336x, 1.000 deg/s in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.703855 #1 After testing, the following slew rates are valid : 239.34469583333336x, 1.000 deg/s, 478.6893916666667x, 2.000 deg/s, 718.0340875x, 3.000 deg/s, 957.3787833333334x, 4.000 deg/s in (List<AxisRate> slewRates, bool hasFixedRates) SharpCap.MountProxy.ASCOM.MountWrapper.DetermineSlewRates(Tuple<double, double>[] axisRates0, Tuple<double, double>[] axisRates1)
Info 19:23:51.704680 #1 Meade Generic has 4 available slew rates. in ObservableCollection<MountRate> SharpCap.ViewModels.MountViewModel.CreateRates()
Info 19:23:51.706251 #1 Slew rates set in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.720860 #1 Ended void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.721673 #1 Started void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.721905 #1 Dispatcher disable count is 0 in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.722171 #1 Meade Generic has 4 available slew rates. in ObservableCollection<MountRate> SharpCap.ViewModels.MountViewModel.CreateRates()
Info 19:23:51.722526 #1 Slew rates set in void SharpCap.ViewModels.MountViewModel.Initialize()
Debug 19:23:51.723670 #1 Ended void SharpCap.ViewModels.MountViewModel.Initialize() in void SharpCap.ViewModels.MountViewModel.Initialize()
Info 19:23:51.997111 #1 StartPreview event received in UI thread in async void SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(object sender, CaptureEventArgs e)
Debug 19:23:52.147831 #1 Started void SharpCap.ViewModels.FocuserViewModel.Initialize() in void SharpCap.ViewModels.FocuserViewModel.Initialize()
Debug 19:23:52.150349 #1 Started void SharpCap.ViewModels.FocuserViewModel.InitializeImpl() in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Info 19:23:52.163364 #1 Initializing Device Hub Focuser, MaxPosition = 10000, MaxChange = 10000, TempCompAvailable = True in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Debug 19:23:52.167948 #1 Ended void SharpCap.ViewModels.FocuserViewModel.InitializeImpl() in void SharpCap.ViewModels.FocuserViewModel.InitializeImpl()
Debug 19:23:53.151333 #1 User clicked on notification button Set Mount Time to PC Time in void SharpCap.UI.NotificationViewModel.HandleButtonPress(NotificationButton button)
Warning 19:23:53.273285 #1 Failed to set mount time : Exception of type 'TargetInvocationException' : Exception has been thrown by the target of an invocation.
Stack Trace: at object System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(object obj, Span<object> copyOfArgs, BindingFlags invokeAttr)
at object System.Reflection.MethodBaseInvoker.InvokeWithOneArg(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
at object System.Reflection.MethodBase.Invoke(object obj, object[] parameters)
at object SharpCap.Base.Utilities.RetryProxy<T>.Invoke(MethodInfo targetMethod, object[] args) in C:/Documents/Source Code/SharpCap/src/SharpCap.Base/Utilities/RetryProxy.cs:line 26
at void generatedProxy_2.set_UTCDate(DateTime)
at void SharpCap.Models.Mount.TrySetMountTime() in C:/Documents/Source Code/SharpCap/src/SharpCap/Models/Mount.cs:line 343 in void SharpCap.Models.Mount.TrySetMountTime()
Warning 19:23:53.273588 #1 Inner Exception : ASCOM.InvalidOperationException: Failed to set local date
---> System.Runtime.InteropServices.COMException (0x8004040B): Failed to set local date
--- End of inner exception stack trace ---
at void ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(string memberName, Exception e) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 205
at bool ASCOM.Com.DriverAccess.DynamicAccess.TrySetMember(SetMemberBinder binder, object value) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/DynamicAccess.cs:line 105
at object CallSite.Target(Closure, CallSite, object, DateTime)
at TRet System.Dynamic.UpdateDelegates.UpdateAndExecute2<T0, T1, TRet>(CallSite site, T0 arg0, T1 arg1)
at void ASCOM.Com.DriverAccess.Telescope.set_UTCDate(DateTime value) in J:/ASCOMLibrary/ASCOM.Com/ASCOM.Com.DriverAccess/Telescope.cs:line 479
at void SharpCap.MountProxy.ASCOM.MountInterceptionProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountInterceptionProxy.cs:line 468
at void SharpCap.MountProxy.ASCOM.MeadeProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MeadeProxy.cs:line 430
at void SharpCap.MountProxy.ASCOM.MountWrapper.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/MountWrapper.cs:line 110
at void SharpCap.MountProxy.ASCOM.RefreshMountProxy.set_UTCDate(DateTime value) in C:/Documents/Source Code/SharpCap/src/SharpCap.MountProxy.ASCOM/RefreshMountProxy.cs:line 98
at object RuntimeMethodHandle.InvokeMethod(object target, Void** arguments, Signature sig, bool isConstructor)
at object System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(object obj, Span<object> copyOfArgs, BindingFlags invokeAttr) in void SharpCap.Models.Mount.TrySetMountTime()
Warning 19:23:53.273850 #1 Inner Exception : System.Runtime.InteropServices.COMException (0x8004040B): Failed to set local date in void SharpCap.Models.Mount.TrySetMountTime()
Debug 19:23:53.274406 #1 Notification (Status=Warning): The mount failed to report its current time. SharpCap tried to set the mount time and that failed too. Incorrect mount time may cause incorrect mount movements. in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:23:59.813793 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.TransformAction Multi-Star FWHM Measurement executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:23:59.814898 #1 Changing transform from None to Multi-Star FWHM Measurement due to button click on Multi-Star FWHM Measurement in void SharpCap.ViewModels.Actions.TransformAction.ExecuteSync()
Info 19:23:59.815285 #1 Selecting transform Multi-Star FWHM Measurement in void SharpCap.Models.Transforms.set_SelectedTransform(ITransform value)
Info 19:23:59.815778 #1 Requesting creation of Multi-Star FWHM Measurement transform in object SharpCap.Models.Transform.CreateInUIThread()
Info 19:23:59.817594 #1 Created Multi-Star FWHM Measurement transform in object SharpCap.Models.Transform.CreateInUIThread()+() => { }
Info 19:24:00.106089 #1 Loading SharpCap.FrameTransforms.Focus.WPFFocusScoreControl, MinHeight is 220, ActualHeight is 0 in void SharpCap.New.DockingArea.SetToolContent(Control value)
Info 19:24:00.114614 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.TransformAction Multi-Star FWHM Measurement complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:24:23.086429 #1 Starting scan from 5000 in Positive, 3 steps of 20 with 3 samples at each step in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:23.087033 #1 Selection area enabled is False, area is {X=0,Y=0,Width=1280,Height=960} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:23.123484 #1 BlackLevel=0.1, ReduceNoiseAmount=1, ScoreSelectionMode=Average, Averaging=2.00s, Normalize=False, {"AdditionalNoiseReduction":0.5,"SuppressHotPixels":true,"Sensitivity":90,"UseDisplayStretch":true,"MaxBrightness":55.0,"StarCount":35} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Debug 19:24:23.182152 #1 Notification (Status=Warning): Focuser scan in progress - step 1 of 10. Moving to position 5020 in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Debug 19:24:29.066155 #1 Notification (Status=Error): Aborting focuser scan because the focuser failed to report a settled state after reaching target, waiting settling time and an additional 5s in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 19:24:29.080795 #1 At end of scan, status is NoPattern in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 19:24:29.081048 #1 No focus data at end of scan for direction Positive in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 19:24:29.084760 #1 Focus scan complete/cancelled - no best fit in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 19:24:33.139518 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 19:24:33.177008 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
- admin
- Site Admin
- Posts: 17526
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Auto focus error in new version
Hi,
sorry about that - this version did contain that bug, but it is fixed in the update 4.1.13043, which went online about 1 day later. Please update and all should be fine.
thanks,
Robin
sorry about that - this version did contain that bug, but it is fixed in the update 4.1.13043, which went online about 1 day later. Please update and all should be fine.
thanks,
Robin
Re: Auto focus error in new version
Hi,
Somehow I get the same error (using the same focuser). I’ve updated to the latest version, which is 4.1.13078, 64Bit.
Focuser works fine manually. Maybe I did something wrong, it just never works with the focus tools.
Somehow I get the same error (using the same focuser). I’ve updated to the latest version, which is 4.1.13078, 64Bit.
Focuser works fine manually. Maybe I did something wrong, it just never works with the focus tools.
Re: Auto focus error in new version
Hi Robin,
Sorry to inform, but I have updated to the latest version, and got the same error.
Nir
Logs:
Info 07:21:09.196104 #1 Starting SharpCap v4.1.13078.0 (X64, 64 bit) at 2025-01-30T07:21:09.1205497+02:00 in void SharpCap.Program.Main()
...
Info 07:22:55.603502 #1 Starting scan from 5000 in Positive, 3 steps of 20 with 3 samples at each step in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:22:55.604048 #1 Selection area enabled is False, area is {X=210,Y=0,Width=864,Height=950} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:22:55.638175 #1 BlackLevel=0.1, ReduceNoiseAmount=1, ScoreSelectionMode=Average, Averaging=2.00s, Normalize=False, {"AdditionalNoiseReduction":0.5,"SuppressHotPixels":true,"Sensitivity":86,"UseDisplayStretch":true,"MaxBrightness":55.0,"StarCount":23} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Debug 07:22:55.687688 #1 Notification (Status=Warning): Focuser scan in progress - step 1 of 10. Moving to position 5020 in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Debug 07:23:06.374651 #1 Notification (Status=Error): Aborting focuser scan because the focuser failed to report a settled state after reaching target, waiting settling time and an additional 5s in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 07:23:06.391600 #1 At end of scan, status is NoPattern in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 07:23:06.392306 #1 No focus data at end of scan for direction Positive in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 07:23:06.402721 #1 Focus scan complete/cancelled - no best fit in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:23:10.358232 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 07:23:10.529734 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 07:25:40.657173 #12 =='Transforms' (New Thread)
Sorry to inform, but I have updated to the latest version, and got the same error.
Nir
Logs:
Info 07:21:09.196104 #1 Starting SharpCap v4.1.13078.0 (X64, 64 bit) at 2025-01-30T07:21:09.1205497+02:00 in void SharpCap.Program.Main()
...
Info 07:22:55.603502 #1 Starting scan from 5000 in Positive, 3 steps of 20 with 3 samples at each step in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:22:55.604048 #1 Selection area enabled is False, area is {X=210,Y=0,Width=864,Height=950} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:22:55.638175 #1 BlackLevel=0.1, ReduceNoiseAmount=1, ScoreSelectionMode=Average, Averaging=2.00s, Normalize=False, {"AdditionalNoiseReduction":0.5,"SuppressHotPixels":true,"Sensitivity":86,"UseDisplayStretch":true,"MaxBrightness":55.0,"StarCount":23} in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Debug 07:22:55.687688 #1 Notification (Status=Warning): Focuser scan in progress - step 1 of 10. Moving to position 5020 in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Debug 07:23:06.374651 #1 Notification (Status=Error): Aborting focuser scan because the focuser failed to report a settled state after reaching target, waiting settling time and an additional 5s in void SharpCap.UI.NotificationViewModel.DisplayMessage(NotificationMessage message)
Info 07:23:06.391600 #1 At end of scan, status is NoPattern in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 07:23:06.392306 #1 No focus data at end of scan for direction Positive in void SharpCap.FrameTransforms.Focus.Scanner.LogFitStatus(int iStep, bool end)
Info 07:23:06.402721 #1 Focus scan complete/cancelled - no best fit in async Task SharpCap.FrameTransforms.Focus.FocusScoreModelBase.ScanAsync(FocusTravelDirection direction, bool gotoBestPosIfEnabled, CancellationToken cancellationToken)
Info 07:23:10.358232 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction executing in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 07:23:10.529734 #1 Toolbar/Menu input : SharpCap.ViewModels.Actions.ShowLogAction complete in async Task SharpCap.ViewModels.UIAction.ExecuteAsync()
Info 07:25:40.657173 #12 =='Transforms' (New Thread)
- admin
- Site Admin
- Posts: 17526
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Auto focus error in new version
Hi,
OK, I thought I had resolved that error, but wasn't 100% sure since I can't actually make the error happen myself, so I had to try to reason out why/how it was happening.
Please can you retest, but first turn on the option to 'Log additional information about Focuser Hardware communication' in the SharCap logging settings (before connecting to the camera or focuser). That option should make every request for the status of the focuser get added to the log, and I will be able to check to see why the problem is happening (or if it is actually correctly reporting that the focuser is not coming out of the 'moving' state). If you could send me the whole log it would be helpful - probably best to zip it into a zipfile then upload it here as an attachment. Alternatively you can email it to me - use the 'Contact Us' link at the bottom of the page.
thanks,
Robin
OK, I thought I had resolved that error, but wasn't 100% sure since I can't actually make the error happen myself, so I had to try to reason out why/how it was happening.
Please can you retest, but first turn on the option to 'Log additional information about Focuser Hardware communication' in the SharCap logging settings (before connecting to the camera or focuser). That option should make every request for the status of the focuser get added to the log, and I will be able to check to see why the problem is happening (or if it is actually correctly reporting that the focuser is not coming out of the 'moving' state). If you could send me the whole log it would be helpful - probably best to zip it into a zipfile then upload it here as an attachment. Alternatively you can email it to me - use the 'Contact Us' link at the bottom of the page.
thanks,
Robin
Re: Auto focus error in new version
Hi Robin,
Although i didn´t opened the thread, maybe my logfile is also useful. I turned on additional logging, re-started SharpCap. After connecting mound and camera i went straight to focuser tools. Tried to perform a scan and got the error messages mentioned. Did some manual focus and closed the programm again.
Thanks,
Sven
edit: I also noticed that i need to open the ASCOM Control Console from within SharpCap for the Focuser. After that, the Edge detection shows me some values. However, if i manually change focus it will just update once and then it shows no change in values, even if there are. Going back to the console and the new values are there. Maybe i am doing something wrong?
Although i didn´t opened the thread, maybe my logfile is also useful. I turned on additional logging, re-started SharpCap. After connecting mound and camera i went straight to focuser tools. Tried to perform a scan and got the error messages mentioned. Did some manual focus and closed the programm again.
Thanks,
Sven
edit: I also noticed that i need to open the ASCOM Control Console from within SharpCap for the Focuser. After that, the Edge detection shows me some values. However, if i manually change focus it will just update once and then it shows no change in values, even if there are. Going back to the console and the new values are there. Maybe i am doing something wrong?
- Attachments
-
- Log_2025-01-31T10_25_40-3284.zip
- (253.64 KiB) Downloaded 24 times
Skywatcher 200/1000 PDS
HEQ-5
ASI662MC / ASI120MM Mini
Canon EOS 1300D
HEQ-5
ASI662MC / ASI120MM Mini
Canon EOS 1300D
- admin
- Site Admin
- Posts: 17526
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Auto focus error in new version
Hi Sven,
thanks for posting the log - from it, it definitely looks as though the focuser is reporting correctly, which means that somewhere I have a bug lurking in SharpCap that I haven't spotted yet. I will investigate further and report back.
cheers,
Robin
thanks for posting the log - from it, it definitely looks as though the focuser is reporting correctly, which means that somewhere I have a bug lurking in SharpCap that I haven't spotted yet. I will investigate further and report back.
cheers,
Robin
Re: Auto focus error in new version
Hi Robin,
Thanks for investigating! I’m pretty sure quite a lot people will benefit from it. It‘s a budget focuser, but not so bad at all. So there are quite a lot floating around I think.
Cheers, Sven
Thanks for investigating! I’m pretty sure quite a lot people will benefit from it. It‘s a budget focuser, but not so bad at all. So there are quite a lot floating around I think.
Cheers, Sven
Skywatcher 200/1000 PDS
HEQ-5
ASI662MC / ASI120MM Mini
Canon EOS 1300D
HEQ-5
ASI662MC / ASI120MM Mini
Canon EOS 1300D
- admin
- Site Admin
- Posts: 17526
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Auto focus error in new version
Hi Sven,
OK, I have this sorted now - my mistake I'm afraid... I was recording the time that the focuser stopped moving in local time, but ended up comparing it to the UTC time to see how long it had been stationary for. If your timezone matches UTC (like here in the UK) it works perfectly. If you have a UTC-XXh time zone then the focuser will always report as being settled, if you are UTC+XXh then it will never report settled - at least not for a few hours!
Normally I try to work everything in UTC to avoid this sort of thing, but one slipped through. It will be fixed in Monday's update.
cheers,
Robin
OK, I have this sorted now - my mistake I'm afraid... I was recording the time that the focuser stopped moving in local time, but ended up comparing it to the UTC time to see how long it had been stationary for. If your timezone matches UTC (like here in the UK) it works perfectly. If you have a UTC-XXh time zone then the focuser will always report as being settled, if you are UTC+XXh then it will never report settled - at least not for a few hours!
Normally I try to work everything in UTC to avoid this sort of thing, but one slipped through. It will be fixed in Monday's update.
cheers,
Robin