LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runing of other exe programs

Hi
I have a program written i C compiled to a exe. This program returns a value
Can I start this program inside of LabView and get out the return value

Ola Ketil
0 Kudos
Message 1 of 3
(2,159 Views)
The system exec command (in the communications palette) has an output terminal although I'm not sure whether this will work. You can try building you program as a DLL instead of an EXE, and run the DLL from LabVIEW.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,156 Views)
You could recompile your program as a dll or as a CIN (lsb) and use the CIN node or the library fucntion node and run it that way. This will allow you to wire any inputs or outputs you needed. The library function (dll) would probably be easier since you wouldn't have to reformat any of your code.
0 Kudos
Message 3 of 3
(2,147 Views)