General Tab - Type Properties Dialog Box

General Tab

The General tab contains the following options:

  • Value —The default value TestStand assigns to all variables, parameters, and properties you create with the data type. This value is the initial value for any newly created instances of the type or for instances of the type in which this property did not yet exist. You can change the value in each individual variable, parameter, or property after you create it. When an instance of a type contains this property, further changes to the value in the type definition do not affect the value in the instance unless you enable the Apply Value to All Loaded Instances of the Type option and you have the file that contains the instance open when making the change.
  • Release —Sets the value of the object reference to Nothing .
    Note This option is available only when the type is object reference.
  • Apply Value to All Loaded Instances of the Type —Changes the values in all properties that are instances of the type for files currently in memory. Instances of the type in files not currently loaded are not updated. This option is available only when the property specifies a value.
  • Attach to this File (If you do not attach the type, TestStand saves the type with the file only if this file contains instances of the type.) —When you enable this option, TestStand saves the type in the sequence file or type palette file regardless of whether the file contains any variables, parameters, or properties that use the type. When you create a new type in a file or copy an existing type from another file, TestStand automatically enables this option. When you copy a variable, parameter, or property that uses the type into another sequence file or type palette file and the file does not contain the type, TestStand adds the type to the file, but does not enable this option. Disable this option when you only want to save the type when the file that contains the type also contains a variable, parameter, or property that uses it. If you delete the variable, parameter, or property, TestStand does not delete the type. However, next time you save the file TestStand will not save the type.
    Note This option does not appear when operating on the subproperty of a type and applies only to the current file.
  • Numeric Format —Launches the Numeric Format dialog box, in which you can specify the format TestStand uses to display the value of a numeric property. This control is available only for numeric properties and numeric array properties.
  • Comment —The default comment TestStand assigns to all variables, parameters, and properties you create with the data type.
  • Advanced —Displays a submenu with the following options:
    • Flags —Launches the Edit Flags dialog box, in which you can modify the property flags for the data type.
    • Attributes —Launches the Attributes dialog box, in which you can create and edit the default attributes TestStand assigns to all variables, parameters, and properties you create with the data type.

See Also

Attributes dialog box

Edit Flags dialog box

Numeric Format dialog box