LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to locate component

I have a piece of equipment which came with some DLLs to control it.  I want to call these DLLs through LabVIEW,
I used a Call Library Function Node in the block diagram and browsed to one of the DLLs with a function to initialize the equipment.
When I run the vi I get the error:
LabVIEW: LabVIEW.exe Unable to locate component.
  "This application has failed to start because psdkdll.dll was not found.  Re-installing the application my fix the problem."
 
I checked and the psdkdll.dll is in the same directory as the DLL configured in my Call Library Function Node.
How can I link all of these DLLs to the high level DLL in my Call Library Function Node?
 
I read the Using External Code chapter in the LabVIEW manual.  So I think I have all of the correct data types going into
the Call Library Function Node.
 
 
0 Kudos
Message 1 of 3
(3,348 Views)
rohrdt,
 
So to clarify, you are calling a dll (A.dll) that apparently calls the psdkdll.dll, which cannot be found.  Is this correct?  If so, there are a few things that you could try.  If you are familiar with any other programming language, I would suggest trying to call the dll from that language, just to check to see if it is a dll issue or a LabVIEW issue.  You could also try to copy the psdkdll.dll file and put it in the C:\Windows\System32 folder.  It may just be a relative path or linking issue with the dll. 
 
Out of curiosity, are you using NI-VISION at all?  I did a Google search for the psdkdll.dll and found that it is a utility file that is included with Canon cameras.  If this is the case you may be able to use a NI driver to access the camera.
 
Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 3
(3,335 Views)

Hi Andy F.

Thanks for your response. 

"So to clarify, you are calling a dll (A.dll) that apparently calls the psdkdll.dll, which cannot be found.  Is this correct?"
This is exactly what I am trying to do.  I ended up copying all of the dlls into the same directory as the main vi that I am using.
The error went away, but I am still not sure if I am actually communicating with the camera yet.
I would like to try the dlls out in a different language, but I am not familiar with one.
 
"Out of curiosity, are you using NI-VISION at all?"
I am not using NI-VISION, I was hoping to be able to do this without buying anying other software.
0 Kudos
Message 3 of 3
(3,317 Views)