01-14-2020 09:43 AM
Hi there,
I'm using TS2019 but wrapped in the Simple C#.Net example wrapper. I want the final pass/fail result to be embedded in the C# form and do not want the standard TS pass/fail popup to occur.
I've got PostUIMessageEx working so can pass parameters from TS to C# which can then indicate in my GUI the final result, however I cannot find any method of disabling the final TS status popup. Is it possible to disable or bypass in some way?
Thanks,
Solved! Go to Solution.
01-14-2020 09:49 AM - last edited on 12-09-2024 05:00 PM by Content Cleaner
The pass/fail message gets displayed by the PostUUT Callback in the process model. You should be able to override it, skip/delete the "Call DoPostUUT" Step, and send your UIMessage from there.
https://www.ni.com/en/support/documentation/supplemental/07/using-callbacks-in-ni-teststand.html
Hope this helps!
Trent
01-15-2020 02:22 AM
Thanks for the info - it has helped my TS understanding a little but I still can't stop the final status (pass/fail) popup to not be shown.
In my small test code I only have "Main Sequence" with a few trivial steps, where do I find the PostUUT callback to delete it ?
Thanks,
Mark.
01-15-2020 08:43 AM
This is covered in the "How to Use a Model Callback" section of that document.
01-16-2020 02:28 AM
Excellent - I couldn't work out how to insert the step in the first place ! Now I can try out my own code...….