LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW call other programs to run?

Is there a way to have LabVIEW call another program to start and run? The new application does not have to share data with LabVIEW.
 I just want to be able to start another non LabView program while my vi is still running.
0 Kudos
Message 1 of 7
(7,005 Views)
A search for System Exe on this forum will give plenty of idea and examples. Try this one for instance
Chilly Charly    (aka CC)
Message 2 of 7
(6,995 Views)
Yes. The most common way is to call the program using the System Exec.vi. Just input the path to the program into the command line. Wire the "wait until completion" terminal  with a false, so LabVIEW is free to continue once the program is called.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 3 of 7
(6,994 Views)

Hi

You could always use a System Exec.vi which is located in Connectivity >> Libraries & Executables.

With this you could run any program which is compiled to exe file.

bogdani

0 Kudos
Message 4 of 7
(6,989 Views)

Thank you for the information on the System Exec.vi. I tried it and no matter what program I try to run I get an error 2 ( possible reason

memory ful) ??

 

Frank

0 Kudos
Message 5 of 7
(6,984 Views)
Hi Frank,

what code have you used. I've figured that the command line should include the path. And the working directory should be set correct!

Ton
A quick way to post code is:
Starware
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 6 of 7
(6,947 Views)
All set. The path did have to be included. The System Exec.vi works fine. Just what I needed. Thanks for all of the help from you experts.

Frank

0 Kudos
Message 7 of 7
(6,930 Views)