03-09-2018 10:51 AM
Hello,
I've got a Thorlabs CCD1645 USB camera, and I can't get any of the example VIs to run.
I am getting the general 1172 .NET error, even for the most basic 'Initialise Camera' VI.
I have no experience with .NET unfortunately.
I have tried reinstalling the Thorlabs camera software and LabVIEW drivers.
When I open the VIs there are some warnings about file locations (please see attached).
Thanks for any help!
Graham
03-09-2018 10:59 AM
I think it is something to do with a different DLL assembly being loaded into LabVIEW?
03-09-2018 12:14 PM
Hi graham,
Unfortunately error 1172 is a very generic error saying that there was trouble with a dll.
I have also had some problems with the Thorlabs cameras. I think the issue may arise from different bitness. For instance, if you install the 64-bit version of Thorcam and you are using 32-bit LabVIEW. One of my colleagues said that uninstalling Thorcam actually allowed him to get it to work in LabVIEW, but I have not looked into that very much. My only advice is that if you are using 32-bit LabVIEW, I would make sure that you are using the 32-bit dll as well.
I think Thorcam should install a dll here:
"C:\Program Files (x86)\Thorlabs\Scientific Imaging\DCx Camera Support\OtherDrivers\LabVIEW"
Hopefully those use the 32-bit dll since they are in the Program Files (x86) folder.
03-12-2018 04:49 AM - edited 03-12-2018 04:49 AM
Thanks for your reply.
Unfortunately I can't install Thorcam 32-bit because I don't have a x86 processor. At least Thorcam v.3.0 complains, but I will now try using v.2.9.
I guess I can always change to LabView 64-bit but I'm worried that will cause even more problems with other device drivers...
03-12-2018 05:03 AM
Unfortunately Thorcam v.2.9 also won't let me install because of my processor 😞
I thought 64-bit was supposed to be backwards compatible with 32-bit?
Might need to switch to 64-bit LabView now, unless there is any other thing I can try? Can I manually tell LabView to get a different DLL?
03-12-2018 12:31 PM
Installing LabVIEW 64-bit has fixed the problem now.
03-12-2018 01:03 PM
I see, this is an issue with the ThorCam software that it has such a messy installation. While I'm glad you got it to work with 64-bit LV, it should not be necessary just to interface with a camera. If you keep digging around in the ThorCam installation folders I think you will eventually find some VIs that work with 32-bit LV, but everything has the same name and the folder structure is very poorly laid out.