NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is Stop button from UUT Information dialog parameter saved and how to control it

I have batch model using 4 sockets.

I execute tests in MainSequence and after this, I check if all serials were done in PostBatch. If All serials were done, then I want to Stop Testing. I can do this by pressing STOP button on the UUT Information dialog box shown here:

Untitled.png

 

But how Can I do the same effect as pressing Stop Button programmatically? 

0 Kudos
Message 1 of 2
(2,441 Views)

The dialog is started in the model in PreUUTLoop. If you override that sequence you can put anything you want instead.

Alternatively you can disable the dialog if you put:

Parameters.ModelOptions.ParallelModel_ShowUUTDlg = False

into the Model Callback.

The stop button flips the "Parameters.ContinueTesting"-Boolean in the model (maybe you need to show hidden properties to see it). That's the point where you can override.

0 Kudos
Message 2 of 2
(2,415 Views)