|Download Help (Windows Only)|
The default return value is False. For applications that support watch expression persistence, such as the sequence editor, set this property to True.
Specifies whether the engine associates the list of watch expressions with the current workspace, and automatically saves and reloads the watch expression list when the current workspace changes. This property defaults to False for each instance of the engine. For applications that support watch expression persistence, such as the sequence editor, set this property to True. TestStand reads into memory the persisted watch expression when you change the option to True.
When the engine unloads a workspace and this setting is True, the engine saves the current watch expression list in an options file with the same name as the workspace and in the same directory as the workspace file. The engine also saves the current watch expression list when you save the current workspace or any sequence file in the workspace or when you close any sequence file.
When the engine loads a new workspace and this setting is True, the engine automatically loads the watch expression list previously saved in the options file. Otherwise, the engine keeps the current watch expression list.
If no current workspace is loaded, the engine persists the watch expression list to a default options file.
TestStand persists only watch expressions that are not associated with a particular execution, such as when WatchExpression.ExecutionScope is NULL.