07-12-2018 04:03 AM
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:
But how Can I do the same effect as pressing Stop Button programmatically?
07-16-2018 08:45 AM
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.