06-07-2017 06:28 AM
Hi,
I am having an issue with connecting to a Thor lab camera (DCC1545M) through labview. Thor labs provides pre-built VIs for interfacing, I am recieving an error calling the method uc480.Information.ToString, this I believe is from the uc480DotNET.dll which I am referencing but does not have much effect.
One concern of mine is that I am using a 32-bit LabView 2012 and I have installed the 64-bit version of thorCam software, the 32-bit will not install on my computer. Does anyone know if this could be causing an issue?
kind regards,
Kealan
09-15-2017 07:03 PM
Hi Kealan,
We have one of these cameras working smoothly on one of our machines. We just got another camera for a different computer and keep getting the following error. The strange thing is the DLL is called "uc480DotNet.dll", not "uc480.dll".
Error 1172 occurred at Invoke Node System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Inner Exception: System.DllNotFoundException: Unable to load DLL 'uc480.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Possible reason(s):
LabVIEW: A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.
System.DllNotFoundException in ThorCam.lvlib:Open Camera.vi
09-18-2017 10:09 AM
Thanks for the information, but I ended up getting it to work finding an old version of the 32 bit ThorCam software.
many thanks,
Kealan
12-07-2017 07:56 AM
Hi gregoryj,
I assumed you ran the code in LabVIEW 32-bit, as I did and got the same error.
I copied and pasted uc480.dll and uc480DotNet.dll from C:\Windows\System32 to C:\Windows\SysWOW64.
It fixed my issue. I read other thread that somehow sysWOW64 is for 32-bit drivers, and that system32 is for 64-bit drivers.
I hope it helps.
12-07-2017 10:36 AM
Cool, thank you for reporting your fix! Another colleague reported uninstalling ThorCam fixed it for him, but it was probably related to where Windows thought the driver was located as well.
04-18-2018 01:49 PM
hi, Kealan, I am using the same Thorlabs' camera (DCC1545M) and I've the same problem with Labview. Could you tell me wich version of the camera software package have you used to fix that?
Regards,
Anays
08-31-2018 04:44 PM
I was having a very similar problem and am posting the details and solution (which is similar to chin.ho's) in case it helps anyone else:
I installed the 64-bit ThorCam software for running a DCC1645C Thorlabs camera on Windows 10 (x64) with 32-bit LabView 2015. (As Kealan found, the 32-bit version of ThorCam refuses to install on a 64-bit machine, so in this post, "ThorCam" always refers to the 64-bit version of the software.) I could see that the camera was correctly installed in the device manager, and I was able to connect to it and acquire images in ThorCam. However, the camera was not detected in NI-MAX, and when I tried to run the example VIs in the folder C:\Program Files\Thorlabs\Scientific Imaging\DCx Camera Support\OtherDrivers\LabVIEW\For_32-bit_LabVIEW, I received one of the following error messages:
"Invoke Node Error calling method uc480.Information.ToString, (System.ArgumentNullException: Key cannot be null. Parameter name: key) <append><b>System.
Or: