LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling executable file generated from labview in C++

Hi,

I am new to LabVIEW. I have to call an executable file  from C++ in a system where LabVIEW is not installed and Run Time Engine is installed. Can anyone please guide me with it. Thanks in advance.

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

If it's just an executable (.exe) and you have the Runtime Engine installed, why not just launch the executable from your C++ application? I think it's something like CreateProcess() (You'll have to look up the details as I'm a LabVIEW not a C++ programmer!).

 


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 2 of 3
(2,837 Views)
Instead of an exe, it would be better to make a.c type dll or a .NET assembly from the VI. That would make passing parameters to/from simpler.
0 Kudos
Message 3 of 3
(2,821 Views)