NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand can't start. Invalid StationGlobals file.

Solved!
Go to solution

I ran a long sequence of about 4 hours and then the tests passed. When closing TestStand seq editor I received an error which I closed by mistake and now when I try to open TestStand I receive the error on attachment1.

 

Checking out "C:\ProgramData\National Instruments\TestStand 2017 (64-bit)\Cfg" I see that the file "StationGlobals.ini" is empty and there is no backup. Let's forget about all the parameters and settings that I had save in there. I copied the "StationGlobals.ini" from the 32-bit folder and TS starts normally, ofcourse without any stationGlobals. 

 

 

I change  a variable in the stations global once every 10-20 minutes. Reading the same variable is however is done every 1 minute from several different testsockets. 

 

I'd like to know what may have caused this? 

 

Window 10 64bit. TestStand 2017 64 bit

0 Kudos
Message 1 of 5
(3,839 Views)
Solution
Accepted by topic author Heartbeat

Hi heartbeat,

 

I need to admit that I have no clue what might have happened and I am afraid that it will be impossible to reconstruct it without the error message.

 

When talking about changing/reading a variable you are talking about using StationGlobals.Variable in a step or expression, I assume? (i.e. no TS API calls etc.)

 

If it helps you, I can say that this is nothing which normally happens and is something I haven't seen happening before. My recommendation in your current situation would be to have a backup of the stationglobals ready (best put it into your repository), watch it carefully to see if it happens again and record the error message.

Andreas
CLA, CTA
0 Kudos
Message 2 of 5
(3,792 Views)

I agree. It is difficult to find out more about the issue without seeing the error message. I still make forum posts so that other users can refer to this in case the same scenario happens to them. 

 

Tip: In station options, you can enable auto backup generation of the station global file. 

0 Kudos
Message 3 of 5
(3,790 Views)

Mdurt_0-1676420916289.png

I used the Version selector to work on sequence files on an older version of TestStand. Now that I used version selector to switch back to 2017, I get this error.

 

 I do have multiple versions of TestStand 32b & 64b installed on my PC. 

After clicking OK i get this error

 

Mdurt_1-1676421238132.png

 

0 Kudos
Message 4 of 5
(1,989 Views)

Hi, 

Can you try to backup and delete your stationglobals file. TestStand will recreate a new one at startup. 

 

If that works, can you post the old stationglobals file that did not work?

 

Regards

Anand Jain

NI

0 Kudos
Message 5 of 5
(1,949 Views)