LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView equivalent to running batch files using the "shell" command (VisualBasic)

I'm converting a VisualBasic app to LabView and am having trouble figuring out how to run a batch file with LabView.
The VB code that I'm trying to replicate is:

'UNLOAD RTX DRIVERS
Dim ProcessId As Long
ProcessId = Shell(App.Path + "\UnloadReloadRTX.bat", vbNormalFocus)
Wait 400

I haven't found a LabView equivalent to the Shell command. Any suggestions will be appreciated.

thanks,

Todd
0 Kudos
Message 1 of 3
(2,859 Views)
It seems as if this question pops up every week. Use the System Exec.vi found under Funtions - Communications palette. It is the equivalent of Shell.
- tbob

Inventor of the WORM Global
Message 2 of 3
(2,859 Views)
Thank you for your input
0 Kudos
Message 3 of 3
(2,859 Views)