From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,359 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,354 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,353 Views)

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

 

GSinMN

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