LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run a VI using lvlib from exe through VI server functions

I am using VI server functions to launch various VIs from an external application.
 
The principle is quite simple : the external application provides the full path of the VI to be executed, and my LV interface calls a VI server function to run the VI.
It works well for running "basic" VIs, but I observed that VIs using functions from lvlib can not be executed through VI server when the code was contained in a exe.
 
I included a smal LV8 project that illustrates the phenomenon. A simple "SineWaveform.vi" generating a graph has to be called through VI server. The "Call SineWaveform.vi" is my interface code that does the job for running the VI.
The Call SineWaveform.vi works well within LabVIEW, but as soon as I compile it or use it inside a dll, the "SineWaveform.vi" is seen as "not executable".
It seems not able to find associate VIs from lvlib. Modifying the exe by declaring the "SineWaveform.vi" as dynamic VI solves the problem, but the aim of my exe is to launch any VI from that interface, so I do not know the name of the VI to run in advance (or any lvlib it needs).
 
Thanks for help.
 
 
0 Kudos
Message 1 of 4
(3,086 Views)
Grettings Insider,
 
This problem is something known, to solve it, follow that link:
 
Does this help you?
 
Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 2 of 4
(3,064 Views)

Bonjour Christophe,

I cannot access the link. I got the message "You are not authorized to view this document".

Do you have another access for it, or perhaps is it possible to post it as plain text ?

Thanks.

0 Kudos
Message 3 of 4
(3,043 Views)
Hi,

Sorry for the bad link, her the document in .doc version...

Regards,
BRAUD Jean-Philippe
Field Sales Engineer - Nord et Centre France
LabVIEW Certified Developper
Message 4 of 4
(3,035 Views)