NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Don't prompt to save file when try to close a modified sequence file

  I built a custom step type in Teststand. It contains two parts: post substep is used to execute and edit substep with a UIR is used to configure setting. I hope after I change settings in edit substep UIR and try to close that seq file, Teststand could give me a warning which tells me to save sequence file because I have changed the file. Unfortunately, Teststand don't do that for me.  I think Teststand should have that function
 So my question is: What can I do if I hope that kind of function works? Is there anything that I missed when building a custom step type?
 
 
Regards!
Jacky
0 Kudos
Message 1 of 2
(3,406 Views)

Hi,

You need to update the numeric value: RunState.InitialSelection.SelectedFile.ChangeCount. Add 1 if a change in your edit has occured.

 

Regards
Tom Andres Lomsdalen, CTD
Message 2 of 2
(3,402 Views)