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: 

How to control flow of each UUT with a start button in UI (C# UI "Test UUTs Sequential Model")

I'm trying to understand hot to do the following : 

- how to control the flow from within a "for loop" of the entry point "Test UUTs" in a sequential process model from my C# UI.

- how to avoid displaying the UUT Result window of that loop

 

All those achievements would be great if I could dynamically do all those things without modifying the process model itself

I would like to know if there is a way to insert that logic dynamically for that execution so that the process model of my client is not aware of my extra flow control steps needed to run there sequence from within my UI.

 

Does any one has any idea of what I could do to realize this ?

 

I already tried using notification object but I can't get to make it work on the dotnet side.

I tried to use the Break execution but this breaks messages also and therefore the application hangs.

 

Thanks,

 

0 Kudos
Message 1 of 3
(2,101 Views)

There is no modification of the UI necessary. All you got to do is to implement an override of the Pre UUT and the Post UUT callbacks.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,079 Views)

Thanks Norbert for that solution!

 

I'm sorry I haven't answered quickly as I had many thing else on the way to do.

I will try to see how to override the callback from within C# code and figure out what is the final solution to this problem.

 

As soon as I can, I'll give feedback here.

0 Kudos
Message 3 of 3
(2,040 Views)