Re: I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1
Posted: Thu Jul 05, 2018 3:45 pm
I have essentially the same FLIR USB camera (IMX249 rather than IMX174) and it works with FLIR's FlyCap Viewer, but not with the latest SharpCap v3.1.5214 even though c:\windows\SysWOW64\msvcp140.dll exists and I installed SharpCap PreRequisits and PtGreyVideoEncoder_v140.zip. The log file shows it did search for a Point grey camera, but threw an error. I have Win-10 Pro 64-bit and installed the 64-bit version of FlyCapture. Maybe I should be using the 32-bit version ?
The reason I'm not satisfied with FlyCap Viewer is that it appears that the max exposure is limited to 1 second, when it should be at least 3.9 s.
Info: 17:22:36.9673321 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: SharpCap Version 3.1.5214.0
Info: 17:22:36.9703303 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: GC Memory 116Mb
Info: 17:22:36.9783263 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Process Memory 149Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Total Physical Memory 8117Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Available Physical Memory 2386Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Operating System : Microsoft Windows NT 6.2.9200.0
Debug: 17:22:37.0964055 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Started
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type BaslerDeviceEnumerator
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type QHYDeviceEnumerator
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type ASIDeviceEnumerator
Info: 17:22:37.1745081 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AltairDeviceEnumerator
Warning: 17:22:37.2047070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Could not load capture provider - SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: Could not load file or assembly 'FlyCapture2Managed_v140.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
at SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator..ctor()
--- End of inner exception stack trace ---
The reason I'm not satisfied with FlyCap Viewer is that it appears that the max exposure is limited to 1 second, when it should be at least 3.9 s.
Info: 17:22:36.9673321 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: SharpCap Version 3.1.5214.0
Info: 17:22:36.9703303 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: GC Memory 116Mb
Info: 17:22:36.9783263 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Process Memory 149Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Total Physical Memory 8117Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Available Physical Memory 2386Mb
Info: 17:22:36.9793249 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Operating System : Microsoft Windows NT 6.2.9200.0
Debug: 17:22:37.0964055 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Started
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type BaslerDeviceEnumerator
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type QHYDeviceEnumerator
Info: 17:22:37.1645070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type ASIDeviceEnumerator
Info: 17:22:37.1745081 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AltairDeviceEnumerator
Warning: 17:22:37.2047070 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Could not load capture provider - SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: Could not load file or assembly 'FlyCapture2Managed_v140.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
at SharpCap.Cameras.PointGrey.PointGreyDeviceEnumerator..ctor()
--- End of inner exception stack trace ---