11-24-2010 10:36 AM
Solved! Go to Solution.
11-24-2010 03:15 PM
Hi,
first thing, why have you posted this query twice, http://forums.ni.com/t5/NI-TestStand/Update-Station-Globals-from-CVI-UI/m-p/1317023
to be able to update a StationGlobal, you first need to get a reference to the Engine, this can be done using ApplicationMgr.GetEngine()
Once you have that reference you can then get a reference to the StationGlobals by the use of Engine.Globals(). this returns a PropertyObject.
So now you can use the SetVal methods to set your boolean, eg PropertyObject.SetValBoolean("MyBoolean", 0, True)
hope this helps