Running Executables from NI TestStand

Updated Nov 7, 2018

Reported In

Software

  • TestStand

Issue Details

How can I run executables fromTestStand?

Solution

In TestStand, in the Insertions Palette there is a step type titled Call Executable. This step type can be used to run executables from TestStand by specifying the file path of the executable and entering the relevant arguments in the Step Settings, when necessary.
 

Additional Information

As an example, if you wanted to run the Command Prompt from TestStand to ping "ni.com", you would need to select the file path for the cmd.exe file on your computer and then enter the following string into the Argument Expression field: "/c ping " + "\"" + " ni.com"

Note that we include the character combination "\"" in between the ping command and "ni.com" to indicate that "ni.com" is an argument for the ping command itself.

Upon running this Call Executable step, TestStand will open the Command Prompt and ping ni.com.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful