02-04-2010 10:18 AM
I developed a VI which call a subVI with Labview 8.6. It work correctly in VI or in an executable on my developpment computer.
I want run it on another PC, then I created an installer with the following additional installer :
- NI-VISA 4.4 run time engine
- Labview 8.6 run time engine
- Labwindows/CVI 8.5.1 run time engine
- NI-DAQmx 8.7
On the other PC, the application start but when it call the subVI, I see this message
LabVIEW : External code not present.
VI "testeur.vi" was stopped at unknown "" at a call to "acquisition.vi"
some one already saw this problem ?
Solved! Go to Solution.
02-04-2010 10:28 AM - edited 02-04-2010 10:29 AM
02-05-2010 02:39 AM
think for you reply.
I did other test after my post and I saw that there is only one subVI which have problem. In this subVI there is a CIN function with C language library. this library is developed in C++ on visual studio 2008 and include stdlib.h and math.h. there are this 2 library which generate my problem ; It work on my developpment PC but not in the other.
I think that this is the project configuration on visual studio which is bad but I don't know how to fixe the problem.
02-05-2010 11:27 AM
By reading this post http://forums.ni.com/ni/board/message?board.id=170&message.id=424511&query.id=2057776#M424511 I found the solution. CIN is obsolete and then it's better to use DLL.
With this instruction http://zone.ni.com/devzone/cda/tut/p/id/4877 I generate a DLL and it work correctly.