I keep getting this error when I turn on the power to my rig and start connecting SGPro to the litecrawler.
I am using the latest driver NiteCrawler Setup 6.2.6939.exe . I have to switch off/on the focuser manually to make SGPro connect.
It does not allow connections on the first power up.I am not sure what is causing this.
The NC is connected to a 10 port A/C power switch and I just turn on the main switch. I use a intel NUC pc which I sometimes power in the same manner or later as I take it away for other uses.
All the other usb devices are connected to the a sabrent USB3 hub. This is also powered at the same time.
I have discussed this with Moonlite folks and they suggested I also ask here as well.
[07/10/19 20:16:44.458][DEBUG] [Main Thread] Disconnecting ASCOM Focuser: ASCOM.NiteCrawler.Focuser
[07/10/19 20:16:56.406][DEBUG] [TEC Thread] TEC Change: Complete…
[07/10/19 20:16:56.406][DEBUG] [TEC Thread] SGM_CHANGE_COOLER_TEMP complete…
[07/10/19 20:27:30.113][DEBUG] [Focuser Thread] SGM_FOCUSER_MOVE_ABS message received…
[07/10/19 20:27:30.114][DEBUG] [Focuser Thread] Focuser moving to 0
[07/10/19 20:27:30.115][DEBUG] [Focuser Thread] ASCOM Focuser: Focuser is null, GetMaxSteps returning 0
[07/10/19 20:27:30.115][DEBUG] [Focuser Thread] ASCOM Focuser: MaxStep is 0. Ignoring this, hopefully bad things don’t follow.
[07/10/19 20:27:30.115][DEBUG] [Focuser Thread] ASCOM Focuser: Focuser is null, GetMaxSteps returning 0
[07/10/19 20:27:30.115][DEBUG] [Focuser Thread] ASCOM Focuser: Focuser is null, GetMaxSteps returning 0
[07/10/19 20:27:30.115][DEBUG] [Focuser Thread] ASCOM Focuser: Error in Move(abs) : Object reference not set to an instance of an object.
at rb.ip(Int32 A_0)
[07/10/19 20:27:37.952][DEBUG] [Focuser Thread] SGM_FOCUSER_MOVE_ABS complete…
[07/10/19 20:27:45.008][DEBUG] [Main Thread] Connecting ASCOM focuser…
[07/10/19 20:27:46.378][DEBUG] [Main Thread] Failed to connect to focuser. : The write timed out.
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at ASCOM.DeviceInterface.IFocuserV2.set_Link(Boolean Value)
at rh.set_Link(Boolean value)
at rb.ii()
[07/10/19 20:27:46.378][DEBUG] [Main Thread] Disconnecting ASCOM Focuser: ASCOM.NiteCrawler.Focuser
[07/10/19 20:27:55.437][DEBUG] [Main Thread] Connecting ASCOM focuser…
[07/10/19 20:27:55.628][DEBUG] [Main Thread] Failed to connect to focuser. : Access to the port ‘COM3’ is denied.
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at ASCOM.DeviceInterface.IFocuserV2.set_Link(Boolean Value)
at rh.set_Link(Boolean value)
at rb.ii()
[07/10/19 20:27:55.628][DEBUG] [Main Thread] Disconnecting ASCOM Focuser: ASCOM.NiteCrawler.Focuser
ASCOM Diagnostics
Create Creating device
Connected Connecting to device
Connected Trying Connected
Connected Trying Link: Access to the port ‘COM3’ is denied.
Error System.UnauthorizedAccessException: Access to the port ‘COM3’ is denied.
at System.Dynamic.ComRuntimeHelpers.CheckThrowException(Int32 hresult, ExcepInfo& excepInfo, UInt32 argErr, String message)
at CallSite.Target(Closure , CallSite , ComObject , Boolean )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at ASCOM.DriverConnect.ConnectForm.btnConnect_Click(Object sender, EventArgs e) in C:\ASCOM Build\Export\ASCOM.DriverConnect\ConnectForm.cs:line 260
Dispose Disposing of device
Dispose Completed disposal
ReleaseComObject Releasing COM instance
ReleaseComObject Completed release. Count: 0
GC Collect Starting garbage collection
GC Collect Completed garbage collection