Station ID Troubleshooting in TestStand

Updated Jun 6, 2023

Reported In


  • TestStand

Issue Details

The Station ID in TestStand specifies a test station identification string for this instance of the TestStand Engine. When checking the sequence report, the Station ID is displayed incorrectly or is not displaying the adequate Computer Name. 


In order to set the Station ID, you will have to configure it in the Station Options as explained below:
  1. In TestStand, go to Configure >> Station Options
  2. Select the Preferences tab 
  3. Select the Use Computer Name for Station ID 

If you have selected the checkbox, but the Station ID is not showing the correct result, you can follow one of these workarounds: 
  • Adding a callback to the sequence file:
    • Go to Edit >> Sequence File Callbacks
    • Click on ModifyReportHeader >> Add and OK
    • Add the following statement in the callback: 

Replace(Parameters.ReportHeader, Find(Parameters.ReportHeader, "StationID", 0, False, False), 10, "Test Bench ID")

  • Modifying the ModelStrings.ini file. The ModelStrings.ini is a resource strings file that contains several "global values" that TestStand references.
    • Look for the file in this path: C:\Program Files\National Instruments\TestStand 2019\Components\Language\English\ModelStrings.ini
    • Search for RPT_HEADER_STATION_ID
    • Replace the Station ID in the quotation marks with Test Bench ID
    • Please have in mind, that administrator rights are needed to successfully complete these changes