Almost all TestStand API classes inherit from the PropertyObject class. This means you can use PropertyObject methods and properties on objects of other classes. For example, you can use the PropertyObject.Name property to get the name of a SequenceFile object, Sequence object, or Step object. You can also create subproperties using the PropertyObject methods. You can programmatically create a new subproperty of a step using the PropertyObject methods PropertyObject.SetValNumber, PropertyObject.SetValBoolean, or PropertyObject.SetValString with the InsertIfMissing option.
![]() |
Note In most development environments, you must use the AsPropertyObject method to get a PropertyObject interface to the original object. LabWindows/CVI allows you to use the PropertyObject methods and property functions without first obtaining the PropertyObject interface by using the AsPropertyObject method. |
The following chart depicts the inheritance of the API. Click the classes in the image below for more information about the class as well as a listing of the properties and methods associated with the class.