LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

calling executables from CVI application and Getting return values?

Hi,
I use an application created in Delphi to export some data, i call it from a CVI applicaction with arguments using LauncheExecutable() , but i need to know the result code of that application. How, from CVI, i can get that value returned from that application before it finishes?
0 Kudos
Message 1 of 2
(2,711 Views)
No, not without modifying the EXE program. The easiest way to accomplish something like this is to have the other process write the status to a file or to send the status back to the other application through interprocess communication such as TCP.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,711 Views)