LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable within a vi

Is it possible to call an executable with a vi?  If so, can values be wired in and out?  Thanks in advance for the help!  Don J.
0 Kudos
Message 1 of 2
(2,396 Views)
Hi Don,
 
I don't think you can "wire" an executable.  However, you have two options:
 
1.  Call the EXE using the SystemExec VI, and pass argumenst to it when doing so.  You will have to obviously modify the EXE code to read the arguments that are passed to it.  And enable argument-passing when building the EXE.
 
2.  Build a LabVIEW-DLL instead of an EXE.  You can call the DLL from within your VI.  If you decide to go this route, you may find the following useful:
 
-Khalid
0 Kudos
Message 2 of 2
(2,377 Views)