LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview EXE cannot find VI and library

Solved!
Go to solution

Hi.

 

I know this looks like a classic issue where your VI works in the development environment but does'nt work when your export it as a .exe file. I have read that in this kind of case, the problem is the location of support files. But i have tried copying them in the same directory or in a data directory, it still didn't work. Moreover, if i put previous versions of this .exe in the same directory, they work. I don't understand how only the newest version only cannot find these VIs and this library. Can someone help me ?

 

Thanks in advance.

0 Kudos
Message 1 of 9
(5,048 Views)

What your application does?

Are you using RGT Tool kit in your application?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 9
(5,040 Views)

It finds motors and make them move.

 

I don't think it does. The library said to be missing is libximc.dll.

0 Kudos
Message 3 of 9
(5,037 Views)

Is Motor drivers are Third party LabVIEW Drivers?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 9
(5,033 Views)

Yeah, I think they are.

0 Kudos
Message 5 of 9
(5,027 Views)

Add those drivers while building application.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PV6SAM

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 9
(5,018 Views)

Still have the same error.

 

Thanks for the help though.

0 Kudos
Message 7 of 9
(5,006 Views)

How does that .dll get installed on your development system in the first place, is there an installer you have to run before you can use it? Can you add that same .dll installer to the installer you build in LabVIEW, and configure it to run after installation of your built .exe?

0 Kudos
Message 8 of 9
(4,993 Views)
Solution
Accepted by topic author Hyouryû

I ended up finding the solution. I hab both the 32 bits and the 64 bits dll installed, but the VI used the 32 bits first, whereas my labivew is 64 bits. I just deleted the 32 bits dll and it started working.

 

But thanks for the help 🙂

0 Kudos
Message 9 of 9
(4,969 Views)