NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Station Globals Wiping on Crash

I am running several different test stands on my manufacturing floor and have run into a very similar issue on some of them. Labview will get hung up on some sort of VI while running a test sequence and the operator ends up force closing the application because they think it froze. When they go to launch the VI that runs our sequence again it won't launch the sequence because it says it is missing the station globals file.

 

Any idea why this happens? 

 

Luckily, I keep a backup of all my station globals on a network drive but sometimes it won't be the latest one so I'll have to go back and re-add the most recent changes I have done. 

 

Just curious if anyone else has this issue? 

0 Kudos
Message 1 of 4
(58 Views)

Do those hanging VIs happen to access your StationGlobals via TestStand API?

0 Kudos
Message 2 of 4
(45 Views)

Great question, after some digging it looks like I am using the Sequence Reference in a couple instances. I included pictures of the two times I'm calling it in subvis. 

 

Not super familiar with how the Sequence Reference works as I didn't make this VI, but maybe this has something to do with it, when it is getting forced closed? 

 

0 Kudos
Message 3 of 4
(32 Views)

Those two snippets, you have posted look ok. 

It looks like there are Close Reference calls in the right places.

 

If there are several others, you might want to check, if you can find StationGlobal access somwhere

0 Kudos
Message 4 of 4
(12 Views)