NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Save and load Global Variables

Hi all
 
I've got the following problem:
At the moment I'm working with a spectroscope. I have to extract some peaks, which are produced when the ligth is refracted by different materials. And I've got two references saved as global variables to compare with: one is a dark reference (without any light & materials) and one only with the light.
 
But when I'm restarting my system at the moment, I have to store both references again (because they're just saved within the vi's).
Is there a possibility to save this variables in a .txt or .xls-file, where they can be easily load from after restarting the program?
 
Thanks in Advance
 
Dave
0 Kudos
Message 1 of 4
(3,468 Views)

Hi,

Is this a TestStand question or a LabVIEW one?

If is a LabVIEW, I would suggest you re-post to the LabVIEW forum

 

Regards

Ray Farmer

Message Edited by Ray Farmer on 07-12-2007 12:57 PM

Regards
Ray Farmer
Message 2 of 4
(3,465 Views)
yeah, is a LabVIEW one... Sorry Smiley Surprised
0 Kudos
Message 3 of 4
(3,461 Views)

To programatically force a save of station globals in Teststand you need to use the Active X adapter, and the Tesstand automation server (selected when you specify the active X call).

 

(Just incase anyone, like me, spent three hundred years looking through the tesstand forum trying to work out how to do this simple thing).

Because the "Teststand API" methods are often referred to , but the secret of accessing them is closely guarded and hidden.

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