Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

API Inheritance

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info
PropertyObject Adapter ActiveXAdapter CommonCAdapter CVIAdapter DllAdapter DotNetAdapter HTBasicAdapter LabVIEWAdapter SequenceAdapter EditArgs Execution InteractiveArgs InteractiveContext Module ActiveXModule CommonCModule DotNetModule HTBasicModule LabVIEWModule SequenceCallModule CVIModule DllModule ActiveXParameter CommonCParameter DotNetParameter LabVIEWParameter LabVIEWParameterElement SequenceCallParameter CVIParameter DllParameter PropertyObjectFile SequenceFile UsersFile WorkspaceFile Report Sequence SequenceContext SequenceFile Step StepType Thread UIMessage User WorkspaceObject StepAdditionalResults AdditionalResults AdditionalResult

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.

[an error occurred while processing this directive]
 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit