LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample code for Calling C exe files with System exec function in LabVIEW 6.1

I'm trying to develop LabVIEW code that can call a C executable. The function that I would like to use is the system exec function; however, this is the first code that I have ever written in LabVIEW. Does anyone have any VIs that would help a begining LabVIEW programmer explicitly for calling C .exe files?
0 Kudos
Message 1 of 3
(2,465 Views)
There isn't any difference between calling an .exe written in C or any other code. Just specify the path to the executable as the ccommand line input and select whether you want to wait or not or the .exe to finish before returning to LabVIEW.
0 Kudos
Message 2 of 3
(2,465 Views)
Check the following posts:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000E6460000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000E2460000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
0 Kudos
Message 3 of 3
(2,465 Views)