This example shows how to call a targeted Windows' application (i.e. Calculator) using the System Exec VI.
This VI uses a Call Library Function Node along with string and path manipulation VIs to build inputs to the System Exec VI. This VI allows the user to make command line calls from LabVIEW. This example includes the ability to launch Windows Volume Control as well as the Windows Calculator. It could easily be expanded to include other command line applications.
Note: If you are using a Windows 7 machine, the String Constant in the Volume Ctrl case of the Case Structure should be changed from "System32\sndvol32.exe" to "System32\sndvol.exe"
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Select which target application you would like to run using the Target control on the front panel