LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable to call external dll with error

Hi,

 

    I am developing an application to control a spectrometer via an external dll(in C++). When running in development environment, it is fine.

After making an executable, the executable always gives error of call function. The problem seems in finding the external dll. Although I defined the path, the default value of the path is the location where the dll is. 

To avoid the problem, every time before run the program, I need to define the path by clicking the browse button then run the program. But the default value of the path is exactly same as the actual path. I wonder why every time I have to browse the dll file. It would be grateful if somebody can give advice.  Attached is my simplified application(Labview 8.2) to call external dll

 

 

    Thanks.

 

   Guang

 

0 Kudos
Message 1 of 2
(2,453 Views)

Hi,

I think your problem comes from the configuration of your Call Library Function Node. Please find here some information about it and particularly pay attention at ‘Specify Path on the diagram’.

    Benjamin R.


Senior LabVIEW Developer @Neosoft


0 Kudos
Message 2 of 2
(2,440 Views)