From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Programmatically Changing a TestStand Step Name

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • Teststand

Code and Documents

Attachment

Download All

Description

Overview

 

You can use a TestStand expression to dynamically change the name of a test step in the execution window and the test report or database. This provides a convenient way to include step-related data in the test report or database.

  

Hardware and Software Requirements

Change Step Name - TS2019.zip

 

TestStand 2019 

Steps to Implement or Execute Code

 Execute the attached sequence file.

 

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors