TestStand provides Temporary global variables which exist for the lifetime of the TestStand engine. This example demonstrates how to create and use Temporary Global variables in TestStand.
Temporary Globals are variables which are located in the Engine.TemporaryGlobals object.
You must create these variables at runtime using the TestStand API. For information on using the TestStand
API to create properties, refer to <TestStand Public>/Examples/TestStand API/Creating New Properties Using API
Use temporary globals to store configuration data that pertains to the current instance of TestStand, but should not
persist for new TestStand instances. This example uses a Temporary global variable to track the number of
times this sequence has executed in the current instance of TestStand.
Using Temporary Globals - TS2017.seq
TestStand 2017 or Compatible
Using Temporary Globals - TS2012.seq
TestStand 2012 SP1 or Compatible
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Nice stuff, it solves a lot of problems with normal Station Globals 😃
Is there any chance to put this on Variables Pane?
I realize that it may be meant to be hidden, but it makes debugging for less advanced Users really painful.