Engine.CommitGlobalsToDisk
- Updated2024-10-09
- 1 minute(s) read
Engine.CommitGlobalsToDisk
Syntax
Engine.CommitGlobalsToDisk( promptOnSaveConflicts = True)
Purpose
Saves the current state of the station globals to disk.
Remarks
Calling this method with an argument of True is equivalent to calling the PropertyObjectFile.WriteFile method on the object the Engine.GlobalsFile property returns.
Parameters
promptOnSaveConflicts As Boolean
[In] TestStand writes the station globals to disk only if they change after TestStand has loaded or saved them. If another application changes the station globals on disk after TestStand has loaded or saved them, the action TestStand takes depends on the value you pass in this parameter. If you pass True , TestStand gives users the option to overwrite the changes the other application made. If you pass False , TestStand saves the station globals without prompting the user to resolve any conflicts between the changes in memory and the changes on disk.
This parameter has a default value of True .