ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically control the "Save changes.." popup screen?

Hello

 

I've made an application that is controls TS, opens selected sequence or closes it automatically.

 

 I would like to close all open sequences with possibility to programmatically save the sequences automatically on closing without popup screen (attached jpg) or not saving or just simply to bring the popup to the front and let operator decides. Is there a way for that with TS API? 

 

I tried to set the property "ApplicationMgr.SaveOnClose" before calling method "CloseAllSequenceFiles" but it does not work with any option. Everytime if there are modifications in the sequences and my applicaiton tries to close the sequence file TestStand opens the popup screen outside of my application. My application then hangs on method "CloseAllSequenceFiles" and i have to bring the popup to front and close it to resume my applicaiton.

 

Is there a way to overwrite this popup screen?

 

 

I attached screenshot of the VI.

 

 

Download All
0 Kudos
Message 1 of 3
(3,093 Views)

Seems to me like you are not looking in the right place, look at the Engine methods, here are two interesting methods to do what you are willing to do:

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 2 of 3
(3,080 Views)

thx, i will test it

 

0 Kudos
Message 3 of 3
(3,076 Views)