NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing StationGlobals from .Net

Solved!
Go to solution

 

Hi,

I am using the following piece of code to delete the Stationglobal variable in TestStand from .Net

try

{

myEngine.Globals.DeleteSubProperty("ATE_CURRENT", 0x2);

 

}

 

it's not throwing any exceptions and executed sucessfully ,but i can see the variable still exsists in the TestStand.

How can i remove the stationGloabals,Do i need to do some thing else?

 

 

Thanks in advance

Bharathi

0 Kudos
Message 1 of 3
(3,024 Views)
Solution
Accepted by topic author IVI

IVI -

 

Try calling Engine.CommitGlobalsToDisk(True) after you delete the StationGlobal in question. Please let me know the results.

 

Hope this helps.

Manooch H.
National Instruments
0 Kudos
Message 2 of 3
(3,022 Views)

Thanks it worked!!!!!!!

0 Kudos
Message 3 of 3
(3,018 Views)