LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable files cannot run only with labview run-time

Solved!
Go to solution

Dear All,

 

I just build an executable file which calls several functions from a DLL (also written in LabVIEW), the LabVIEW DLL will call a frame grabber DLL which written in c++ to grab images from my camera. Everything worked fine until i copy my whole program to a pc with only LabVIEW and vision runtime installed. Then the program is not working anymore. The LabVIEW DLL i'm calling will keep returning null string which it is not suppose to be. The DLL is supposed to return either 0 for no error or any number which is the error code.

 

Please help.... Thank you very much!!

0 Kudos
Message 1 of 3
(2,462 Views)

Hi brock,

 

you have to provide the "framegrabber DLL" too on your 2nd PC! (And it has to be located in the correct [search path] position...)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,443 Views)
Solution
Accepted by topic author brock85

Hi GerdW,

 

Thanks for the reply. 

I just figured it out.

That was because i only installed vision run-time engine but didn't install the IMAQ device driver.

My program works fine after installing the IMAW device driver. 

0 Kudos
Message 3 of 3
(2,419 Views)