NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Log Result of Message Popup Button Hit?

Solved!
Go to solution

Hello All,

 

  Trying to figure out how to turn a popup message into a test (i.e. the button that is hit determines if the test passes or fails).  I am able to retrieve the result and control data flow based on the result, but can't figure out how to include the result in the report.  I've been working on a "Custom Result" in the "Additional Results" section of the proerties tab, but can't seem to get the expression syntax right.  Please advise.  Thanks.

 

GSinMN

0 Kudos
Message 1 of 4
(5,358 Views)
Solution
Accepted by topic author GSinMN

Hi,

 

You can use the Status expression to determine a pass/fail result. See attached sequence for an example.

Hope this works for you.

 

Mathijs

Message 2 of 4
(5,353 Views)

Hello Again,

 

  Thought I should clarify something.  I can get the nuber of the button that was hit to show up in the report, but I want the text from the button that was hit to show up in the report.

 

GSinMN

0 Kudos
Message 3 of 4
(5,352 Views)

Thanks M.Haarman.  Exactly what I was looking for.  Glad it was easy.

 

GSinMN

0 Kudos
Message 4 of 4
(5,351 Views)