String Commands to System Exec VI Causes an Error After Upgrading Windows

Updated Sep 11, 2019

Reported In


  • LabVIEW

Issue Details

After upgrading from Windows 7 to Windows 10, my VI which invokes a call to the Command Line (using System Exec VI) and which previously worked ok, now results in an error. When I "Ping" an address it fails and returns an error, when I ping the address in command prompt it works. What should I do?


When creating a VI to ping an IP address using the System Exec VI, include an initial string line that says "cmd/c". This will ensure that the System Exec VI starts a new instance of the Windows command prompt.