Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CommitGlobalsToDisk Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

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 returned by the GlobalsFile property.

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 that TestStand takes depends on the value you pass in this parameter. If you pass True, TestStand gives the user the option to overwrite the changes that 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.


See Also

Globals

GlobalsFile

PropertyObjectFile.WriteFile


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit