NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

StationGlobals.ini without values

Hey everybody,

is it possible in NI Teststand to save the StationGlobals.ini without the values? Out StationGlobals-file is stored in SVN and so you can't see (easily) if the changes of the StationGlobals-file are only other values of the actual executing test system. SVN shows lokal changes on every test system every time...

 

I have linked the StationGlobals.ini to the same file/location which is in SVN.

 

Example:

//on test system 1
[Globals.Multicluster.masterConfig] deviceType = 1 powerSwitch = 2 powerVoltage = 2

//on test system 2
[Globals.Multicluster.masterConfig]
deviceType = 3
powerSwitch = 1
powerVoltage = 1

//--> What I need / wish for the checked in file
[Globals.Multicluster.masterConfig]
deviceType = ""
powerSwitch = ""
powerVoltage = ""
//or anything like that

 

0 Kudos
Message 1 of 2
(2,490 Views)

StationGlobals.ini is always saved when the engine shuts down.

That being said, having StationGlobals.ini in source code control is questionable.

 

I recommend you to use property loader steps and 'external ini files' to meet your use case for storing configuration settings.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,480 Views)