NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save stationglobals to disk in Labview

Solved!
Go to solution

Hi, Can someone suggest me how to save the stationglobal values to the disk when my vi is running? I am updating the stationglobal by calling set property TS API in my vi. But when i quit the TestStand and open it again the old stationglobal values are still there and not the new one. What should i do to update the stationglobal values? If anyone has any sample vi please provide me.

 

Thanks in advance,

Jeyan

0 Kudos
Message 1 of 4
(3,737 Views)
Solution
Accepted by topic author Jeyan
Try this. You don't mention the version of LabVIEW you are using so I saved it to 8.0.
0 Kudos
Message 2 of 4
(3,729 Views)

There's an even easier way that doesn't involve any reference other than the engine.  You can call Engine.CommitGlobalsToDisk.

 

Also, I did a search on ni.com for "Save Global Variables TestStand" and found a KB describing this information: http://digital.ni.com/public.nsf/allkb/1A3C3AC9667F9C0886256C5300691822?OpenDocument

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 3 of 4
(3,710 Views)

Dennis,

 

        Thanks for your help. I could update the stationglobal now when my vi is running.

 

Regards,

Jeyan

0 Kudos
Message 4 of 4
(3,699 Views)