Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

What are Thread.RunTimeVariables?

Primary Software: TestStand
Primary Software Version: 3.0
Primary Software Fixed Version: N/A
Secondary Software:

Problem:
What are Thread.RunTimeVariables and how can I use them?

Solution:
In TestStand 3.0 there is a new RunTimeVariables property in the Thread and Execution classes. These properties are an extension of the Engine.TemporaryGlobals concept in TestStand 2.0.x , with the added benefit that they can exist only for the currently running thread or execution. Thread-specific variables add another tool to the environment for programmers needing to manage data for multiple threads and can be used in addition to TestStand's local variables, sequence file global variables, and station global variables as a way of retaining data during an execution and then disposing of it when it is no longer useful.

The Thread.RunTimeVariables and Execution.RunTimeVariables properties can be manipulated like any other PropertyObject with the API methods GetVal___() and SetVal___(). Like Engine.TemporaryGlobals, they are not accessible through TestStand expression statements nor can they be browsed for in the Expression Browser dialog box.

Related Links:
Developer Zone Example: How to use the TestStand API Engine.TemporaryGlobals Property

Attachments:





Report Date: 08/14/2003
Last Updated: 09/14/2007
Document ID: 30DEB9Y6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit