Locals Context Menu - Sequence File Tab
- 更新时间2025-07-21
- 阅读时长2分钟
Locals Context Menu - Sequence File Tab
Locals Context Menu
To access the context menu, right-click the Locals item on the Variables pane. The items in the Locals context menu vary depending on whether you right-click a local variable or local variable subproperty.
The Locals context menu can contain the following items:
- Insert Local —A submenu from which you select the data type for the local variable you want to insert. If you want to insert a local variable with a custom data type , you must create a named data type. After you create the named data type, it appears in the Type submenu of the Insert Local submenu. If you insert an array, the Array Bounds dialog box launches. Notice that sequences always start with one local variable, ResultList . If you delete this local variable, TestStand cannot collect results for the sequence.
- Cut —Removes the selected local variable and places it on the clipboard.
- Copy —Copies the selected local variable to the clipboard.
- Paste —Inserts the local variable from the clipboard.
- Delete —Deletes the local variable.
- Copy Value —Copies the value of the selected property to the clipboard.
- Rename —Displays a control for renaming the selected local variable or subproperty.
-
Advanced
—Launches a submenu that contains the following options:
- Edit Flags —Launches the Edit Flags dialog box, in which you can modify the flags for the local variable or subproperty.
- Edit Attributes —Launches the Attributes dialog box, in which you can create and edit attributes for the local variable or subproperty.
- 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.
-
Representation
—The numeric data type standard to use for a number variable or parameter.
- Double-Precision 64-bit Floating Point (default) —Specifies double-precision, 64-bit floating-point representation.
- Signed 64-bit Integer —Specifies signed 64-bit integer representation.
- Unsigned 64-bit Integer —Specifies unsigned 64-bit integer representation.
- Propagate to Subsequence —Specifies whether a local variable is visible at run time in subsequences the sequence calls. The variable continues to propagate as the call chain extends. Typically, you configure local variables to propagate to automatically pass a set of values to all subsequences a sequence calls.
- Allow Propagation from Caller —Specifies which variable takes precedence when a subsequence defines a variable with the same name as a variable a calling sequence propagates. When you disable this option, TestStand preserves the local variable in the subsequence. When you enable this option, TestStand replaces the variable in the subsequence with the variable the caller propagates. When a propagated variable replaces an existing sequence variable, TestStand generates an error if the types of the variables do not match.