I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1

Somewhere to ask questions about the best way to use SharpCap
User avatar
Hibou
Posts: 24
Joined: Thu Jul 05, 2018 3:25 pm
Location: French Alps
Contact:

Re: I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1

Post by Hibou » 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 ---

User avatar
admin
Site Admin
Posts: 2840
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1

Post by admin » Thu Jul 05, 2018 7:57 pm

Hi,

try installing the extra 'SharpCap Prerequisites Installer' from the downloads page - I think that should fix the issue. The idea of that separate installer was to keep the download size smaller for users of common camera types (ZWO, QHY, etc), but it has been more hassle than it is worth. It's gone in the 3.2 beta and there is just one installer with everything required in it.

cheers,

Robin

User avatar
Hibou
Posts: 24
Joined: Thu Jul 05, 2018 3:25 pm
Location: French Alps
Contact:

Re: I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1

Post by Hibou » Fri Jul 06, 2018 4:08 pm

Yesterday I posted that I had the same problem even after installing the suggested extras.
But there is one more thing necessary to make SharpCap work with FLIR cameras :-)
Install the 32-bit version of FlyCapture, not the 64-bit version, even if you have a 64-bit computer system !

With 32-bit FlyCapture installed, SharpCap works, and I am delighted with it. The interface is more intuitive than FlyCap, the settings and interface layout are remembered when SharpCap is restarted (unlike FlyCap) etc... I also tried SharpCap with a Lodestar X2. and again it works beautifully. I will try it with an Atik camera next.

Congratulations to the SharpCap author for a very professional application. Kind regards, Alan.

User avatar
admin
Site Admin
Posts: 2840
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: I Can't connect Ptgrey (FLIR) imx174 to SharpCap 3.1

Post by admin » Fri Jul 06, 2018 8:11 pm

Hi,

thanks for the report - interesting that you must have the 32 bit flycapture installed (I'd never spotted that). I will have to test to see if there is a way around that by adding some more files to the SharpCap installer or not.

For Atik cameras you will have to use the Atik ASCOM driver. I do not have any Atik cameras personally, so that is untested (at least by me).

cheers,

Robin

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests