- changed status to open
Autofocus always fails upon initial attempt
Is the issue reproducible?
Yes
Are all prerequisites that are mentioned inside the manual met?
Yes
Which Version are you running?
3.0.0.9001
PLL ASCOM Focuser driver v3.5 (from PrimaLuceLab)
Description
Each time I open NINA and connect my focuser (PLL ASCOM focuser driver for ESATTO 2” focuser) it disconnects upon initial autofocus attempt with the following error:
2024-05-04T22:36:52.9532|ERROR|AscomDevice.cs|GetProperty|375|An unexpected exception occurred during GET of Focuser.MaxIncrement:
ASCOM.DriverException: Input string was not in a correct format.
---> System.FormatException: Input string was not in a correct format.
--- End of inner exception stack trace ---
at ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(String memberName, Exception e)
at ASCOM.Com.DriverAccess.DynamicAccess.TryGetMember(GetMemberBinder binder, Object& result)
at CallSite.Target(Closure, CallSite, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at ASCOM.Com.DriverAccess.Focuser.get_MaxIncrement()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
2024-05-04T22:36:53.1443|INFO|FocuserVM.cs|ChooseFocuser|319|Successfully connected Focuser. Id: ASCOM.ArcoEsatto.Focuser Name: PLL ASCOM Focuser DisplayName: PLL ASCOM Focuser Driver Version: 3.5
2024-05-04T22:36:53.1553|INFO|AscomDevice.cs|GetProperty|333|Retrying to GET Focuser.MaxIncrement - Attempt 2 / 3
2024-05-04T22:36:53.1572|ERROR|AscomDevice.cs|GetProperty|375|An unexpected exception occurred during GET of Focuser.MaxIncrement:
ASCOM.DriverException: Input string was not in a correct format.
---> System.FormatException: Input string was not in a correct format.
--- End of inner exception stack trace ---
at ASCOM.Com.DriverAccess.DynamicAccess.CheckDotNetExceptions(String memberName, Exception e)
at ASCOM.Com.DriverAccess.DynamicAccess.TryGetMember(GetMemberBinder binder, Object& result)
at CallSite.Target(Closure, CallSite, Object)
at ASCOM.Com.DriverAccess.Focuser.get_MaxIncrement()
at InvokeStub_Focuser.get_MaxIncrement(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Steps to Reproduce
- Open NINA
- Connect focuser (it succeeds)
- Upon sequence start autofocus is attempted and fails with the error message above.
- Disconnecting and then re-connecting the focuser fixes the issue
Expected behaviour
Autofocus should succeed
Actual behaviour
Autofocus fails
##Relevant logfiles and attachments## <Attach a log file and relevant files like screenshots that may be relevant to identify and resolve the issue> <Logfiles are stored in "%LOCALAPPDATA%\NINA\Logs">
Comments (3)
-
repo owner -
reporter Ah, I’ll try to contact them then.
Initially assumed that it’s NINA specific because I was not getting same behavior with SGPro but seems it just fails differently.
Thanks! -
repo owner - changed status to closed
Closing as it is most likely an issue inside the driver itself.
- Log in to comment
Hi, those are errors coming from the ascom driver itself. Have you contacted primalucelab about the issue? N.I.N.A. has no way to get around this problem, as this is all happening inside the driver.