NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Override default Message Popup

Hello,

 

I am looking for a way to override MessagePopup (or any other) step in Teststand. 

Prefferably I want this to happen in pre and post step callback in process model, so when my custom model is used I have desired behaviour. 

 

Can I somehow in pre step callback tell Message Popup not to display native popup? Or can I override this popup by something else?

 

I have custom test step and this is doable by using custom substeps but then I have to use my custom popup that is alomst identical.

 

Thanks!

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

Maybe you can use a custom substep

In the Prestep callback of your process model, you have to test if the current step has a custom substep. If yes you can execute the custom substep ... or not, depending on what you want

 

The sequence in your PreStep callback is something like that

 

image.png

Regards

Laurent

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

Thanks for reply.

 

I have looked into that but executing additional substep does not solve the issue. Post Substep will always execute.

I need to remove execution of Post Substep in MessagePopup or override it by my own (my assumption is that one displays message popup)

Modifying MessagePopup direcly is not an potion - it must work as usual when used with other process models.

 

Untitled.png

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