NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Step Result for Custom UI using TestStand API

Solved!
Go to solution

Hello all,

I'm developing a custom user interface in LabVIEW and started with simple OI as reference.

while executing a sequence my UI need to populate a table with step names included in the sequence file and their results (Pass/Fail/Done), could manage to get the name of all steps but not able to get step results programmatically.

.

Please suggest me a proper way to get the step results.

 

Thanks in advance

 

KP

0 Kudos
Message 1 of 3
(979 Views)

Hi.

 

I would suggest using UI messages to post both step names and results to display in you UI. You could send the UI messages from the PostStep Callback. In that way you get the UI updated just after the step has executed.

In general UI messages are considered the correct way to share data from you execution with you UI.

Best regards
Jens Christian Andersen.
CLA, CTA, CPI
0 Kudos
Message 2 of 3
(930 Views)
Solution
Accepted by topic author kkpp

Hi Andersen,

 

Thankyou for your response and time.

used Trace Event of Execution manager as callback and got step name and result as shown in the below thread.

 

Reference https://forums.ni.com/t5/NI-TestStand/UIMSG-Trace/m-p/3911252#M59415

0 Kudos
Message 3 of 3
(922 Views)