Accessing Dynamic Properties
- Updated2026-07-27
- 1 minute(s) read
The TestStand API provides the PropertyObject class so you can access dynamic properties and variables in the programming language you use to create code modules.
You can define custom step properties, sequence local variables, sequence file global variables, and station global variables that are dynamic with respect to the TestStand API. Instead of using defined constants, use lookup strings to identify specific properties by name.
Refer to the following examples for more information about accessing dynamic properties in specific development environments:
- LabVIEW
- LabWindows/CVI
- Microsoft Visual Basic .NET
- C#
- Microsoft Visual C++/#import
Related Information
- Lookup Strings
- Accessing Dynamic Properties in LabVIEW
The TestStand API provides the PropertyObject class so you can access dynamic properties and variables from within code modules, where you use lookup strings to identify specific properties by name.
- Accessing Dynamic Properties in LabWindows/CVI
The TestStand API provides the PropertyObject class so you can access dynamic properties and variables from within code modules, where you use lookup strings to identify specific properties by name.
- Accessing Dynamic Properties in Microsoft Visual Basic .NET
In Microsoft Visual Basic .NET, you can access dynamic properties by obtaining a PropertyObject reference from the specific object reference using the AsPropertyObject method on the object.
- Accessing Dynamic Properties in C#
In C#, access dynamic properties by obtaining a PropertyObject reference from the specific object reference using the AsPropertyObject method on the object.
- Accessing Dynamic Properties in Microsoft Visual C++/#import
In Microsoft Visual C++, use the classes the #import directive generates to access dynamic properties by obtaining a PropertyObject reference from the specific object reference using the AsPropertyObject method on the object.