Page 1 of 1

problem of disconnection of the guidance camera when using sharpcap

Posted: Sat Jun 09, 2018 1:50 am
by aziz5200
Good evening,
I'm having a bug on my new pc. in fact, when i connect the asi 071 mc pro on sharpcap whatever the version, my asi 178 mc disconnects instantaneously PHD guiding 2 whatever the version!
I tried with APT and it works great but with sharpcap it does not work while with my old PC everything worked well.
i do not know what i missed but as soon as i connect the 178mc on the asi 071 pro the problem comes back so that if i connect the 178 mc directly on the PC it works!
basically, everything works fine on my old PC whatever the configuration while on my new PC, the combination sharpcap and phd guiding 2 only works if the 178 mc is directly linked to the pc and not in HUB mode through the 071 pro !
Here is the log:
Info: 01: 10: 36.8303074 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: SharpCap Version 3.1.5181.0
Info: 01: 10: 36.8323028 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: GC Memory 115Mb
Info: 01: 10: 36.8362920 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: Process Memory 147Mb
Info: 01: 10: 36.8362920 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: Total Physical Memory 16190Mb
Info: 01: 10: 36.8362920 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: Available Physical Memory 10942Mb
Info: 01: 10: 36.8362920 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: Operating System: Microsoft Windows NT 6.2.9200.0
Debug: 01: 10: 37.0302841 Thread: # 1 SharpCap.UI.SharpCapForm..ctor () :: Started
Info: 01: 10: 37.3963084 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type BaslerDeviceEnumerator
Info: 01: 10: 37.3963084 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type QHYDeviceEnumerator
Info: 01: 10: 37.3963084 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type ASIDeviceEnumerator
Info: 01: 10: 37.3963084 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type AltairDeviceEnumerator
Warning: 01: 10: 37.4990303 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Could not load capture provider - SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator - System.Reflection.TargetInvocationException: An exception has been thrown by the target of a call. ---> System.IO.FileNotFoundException: Could not load file or assembly 'FlyCapture2Managed_v140.dll' or one of its dependencies. The specified module was not found.
at SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator..ctor ()
--- End of the trace of the internal exception stack ---
at System.RuntimeTypeHandle.CreateInstance (RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean & canBeCached, RuntimeMethodHandleInternal & ctor, Boolean & bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark & ​​stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor (PublicOnly Boolean, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark & ​​stackMark)
at System.Activator.CreateInstance [T] ()
to SharpCap.MultiCaptureProvider.AddProvider [T] () in C: \ Documents \ Source Code \ SharpCap3.1 \ src \ SharpCap \ Models \ MultiCaptureProvider.cs: Line 509
Info: 01: 10: 37.4990303 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type SxDeviceEnumerator
Info: 01: 10: 37.6018089 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type DS3DeviceEnumerator
Info: 01: 10: 37.6018089 Thread: # 1 SharpCap.MultiCaptureProvider.AddProvider () :: Added device enumerator of type AscomDeviceEnumerator
Info: 01: 10: 38.3542374 Thread: LogInfo Thread # 8 SharpCap.LogSystemInfo.ThreadProc () :: CPU: Intel (R) Core (TM) CPU i7-7600U @ 2.80GHz with 4 cores.

Info: 01: 10: 38.5906038 Thread: # 1 SharpCap.Base.Utilities.Logger.LogStackTrace (LogLevel level, String msg) :: Parent being changed on PreviewPanel
at SharpCap.UI.ScrollZoomForm.OnParentChanged (Object sender, EventArgs eventArgs)
at System.EventHandler.Invoke (Object sender, EventArgs e)
Debug: 01: 10: 38.6514415 Thread: # 1 SharpCap.UI.SharpCapForm..ctor () :: Ended
Debug: 01: 10: 38.8389401 Thread: # 1 SharpCap.UI.SharpCapForm.SharpCapForm_Load (Object sender, EventArgs) :: Started
Debug: 01: 10: 38.8399373 Thread: # 1 SharpCap.UI.SharpCapForm.SharpCapForm_Load (Object sender, EventArgs e) :: Ended
Debug: 01: 10: 38.8848166 Thread: # 1 SharpCap.UI.SharpCapForm.SharpCap_Shown (Object sender, EventArgs) :: Started
Debug: 01: 10: 38.9167394 Thread: # 1 SharpCap.UI.SharpCapForm.SharpCap_Shown (Object sender, EventArgs) :: Timebomb checked
Debug: 01: 10: 38.9277086 Thread: # 1 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices () :: Started
Info: 01: 10: 38.9905403 Thread: # 7 SharpCap.Base.SimpleDeviceEnumerator.GetDevices (Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: FindCameras - found 0 cam

Re: problem of disconnection of the guidance camera when using sharpcap

Posted: Sat Jun 09, 2018 2:08 pm
by admin
Hi,

are you using a USB hub or two separate USB cables from the camera direct back to ports on the computer? It sounds like a USB bandwidth issue which are much more common with hubs involved - basically when SharpCap starts up it begins running the 071 and that uses enough of the bandwidth that the connection to the other camera drops. As well as removing any USB hubs you could try

* Turning down the turbo USB setting in SharpCap to minimum
* using a USB2 cable for the 071 camera if you are only using it for longer exposure work

both should reduce the bandwidth used by the 071 and may help.

cheers,

Robin