Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

System exec, How I say to open one file and make operation in external program?

Hi,
I got called an external program with the system exec.vi, but i would like the program open the file saved in the other window, i can get the file path, but how Can I put the file path in the external program and the program open the file and I tell (in this case compile), since i open one file code c and only i must to open and say to the program 'compile' and then close external program.

Any help?. Thanks.
0 Kudos
Message 1 of 2
(2,942 Views)
Hi Fonsi,

System Exec.vi will allow you to run commands like launching a program easily but it is difficult and many times not possible to execute commands within an application.

A better way maybe to approach this though ActiveX. Please look at the following example that uses ActiveX to communicate with Excel.
Writing Rows to Excel 97 and Excel 2000 Using ActiveX

If you are not familiar to ActiveX and LabVIEW, please read the document below:
ActiveX and LabVIEW

I hope this
helps.

Sincerely,
Feroz
National Instruments
Message 2 of 2
(2,942 Views)