NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Incomplete executions dialog in C#

Solved!
Go to solution

Hi!

I am developing a custom UI for testStand. From that application I need to invoke 'Incomplete Executions dialog' of TestStand if my application has incomplete executions and I try to exit the application.

I have used

_applicationMgr.Shutdown(); function to close application manager while exiting UI application.

Then dialog as given is displayed.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But I need to display 'Incomplete Executions dialog' of TestStand shown below.

 

Which API should I call in my application to display this dialog.

 

Please comment.

 

Thanks & Regards

Sgy1

0 Kudos
Message 1 of 7
(3,519 Views)

Hi

Pls suggest a workaround. Thanks

0 Kudos
Message 2 of 7
(3,416 Views)

Hi,

 

You need to attach the picture (not BMP format) using the Add Attachments.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 7
(3,413 Views)
Please find the images added as attachment
Download All
0 Kudos
Message 4 of 7
(3,410 Views)

Hi! 

Image-1.JPG - is the dialog displayed in custom UI on calling applicationMgr.Shutdown().

Image-2.JPG - is the dialog displayed in TestStand.

 

Thanks & Regards

 

0 Kudos
Message 5 of 7
(3,408 Views)
Solution
Accepted by topic author Sgy1

Hi,

 

Image2, I think is built into TestStand Sequence Editor and not one you can call from an API.

You can get all the Execution and find they names to display in a control and use the Execution.Terminate method to terminate that selected execution. or if none selected then use the Engine.TerminateAll method to terminate all executions.

 

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,402 Views)

Hi!

Thanks for this valuable information. That was of great help.

 

Thanks & Regards

Sgy

0 Kudos
Message 7 of 7
(3,379 Views)