07-03-2017 06:25 AM
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
07-03-2017 06:49 AM
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.