To Hurst -
The TestStand engine, the sequence editor, and operator interfaces do not auto-save any files other there own configuration files. To save a sequence file, the Save method must be called on the sequence file object. It will be up to you to do this explicitly. I do not know if you want to do this in your code that alters the value, but that is your design decision.
I have not yet seen a customer trying to do what you are doing. Typically the station globals are used to do what you are doing. You would create an array of objects that contain the data that you want to persist. TestStand allows each element in an array of objects to b
e named in addition to be accessed by index. You could use the name of the sequence file as a lookup into the array. All the saving would be automatic and if you want to clear out the persisted data, you just have to operate on the global data, not each sequence file. Also, have you thought about how you are going to handle multiple thread running the same sequence that attempts to update the "global data"?
Just a thought.
Scott Richardson (NI)
Scott Richardson
https://testeract.com