NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand hanging at DoPostUUT message box

I have an issue with my test hanging after I dismiss the Fail message box. Initially I see the trace pointer at <End Group>, but if I break I then see that execution is actually in the process model running DoPostUUT. The fail message box status 'Running'. The Message box is not the default one from the model support dll. I have customized the process model to use a Message Popup step since I want to include information in the fail dialog, as well as having a second button to stop testing instead of needing another dialog box for the operator. I used the same Precondition from NI's default message box. I don't see why the step would hang after the dialog box closes. I have a Post-Expression but nothing that takes time:

Parameters.ContinueTesting = Step.Result.ButtonHit == 1 ? False : Parameters.ContinueTesting

0 Kudos
Message 1 of 2
(954 Views)

I've gotten a lot closer to the cause. I spent some time deleting steps until I was left with the minimum sequence that shows the issue.

  1. The processes model started with the stock SequentialModel and I replaced the dialogs in DoPostUUT with Popup steps.
  2. The Client sequence contains a Popup step, with Modal checked.

That's it. If I use the original dialogs in the process model, no issue. If I uncheck Modal in my client Popup, no issue. I'm not calling any external code, just a couple Popup steps. This seems like a Teststand bug. However, after I copied this from the production PC back to my dev PC, I can't reproduce it.

 

 

0 Kudos
Message 2 of 2
(911 Views)