PropertyObject.Name

Syntax

PropertyObject.Name

Data Type

String

Purpose

Specifies the name of the PropertyObject.

Remarks

TestStand expressions require PropertyObject names to be strings that contain only letters, numbers, and underscores. PropertyObject names cannot contain spaces, start with a number, or be empty. Additionally, the PropertyObject name cannot be " Value ", and you cannot have duplicate subproperty names. For example, MyVariableName_2000 is a valid PropertyObject name. Names of elements in a PropertyObject array can contain any character. Both sequence names and step names are examples of such named array elements. However, sequence names cannot be empty or contain control characters. You cannot have duplicate sequence names. The name NI is reserved at the root level for attribute names.

Note TestStand does not generate an error if you specify an invalid name for a PropertyObject.
Note TestStand does not validate type or variable names you create programmatically for invalid characters, such as spaces, which can result in errors when you use expressions. Use the PropertyObject.ValidateNewName , PropertyObject.ValidateNewSubPropertyName , PropertyObject.ValidateNewElementName , or TypeUsageList.ValidateNewTypeName methods to validate property names.

See Also

PropertyObject.GetDisplayNames

PropertyObject.ValidateNewElementName

PropertyObject.ValidateNewName

PropertyObject.ValidateNewSubPropertyName

Sequence.Name

Step.Name

StepType.Name

Thread Safety of the PropertyObject API and TestStand Variables

TypeUsageList.ValidateNewTypeName