NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sequence Callback Order of Execution In A Sequence File

Quick question for the TestStand experts.

 

If I was opening up a sequence file NOT written by me how can I tell the order of Sequence Callback execution?  Which one executes first, then second, and so on...?  Obviously, if I wrote the sequence file I would know the order but for someone who did not is there an easy method to figure out the order of sequences when a sequence file is run?

 

Thanks!

0 Kudos
Message 1 of 2
(5,664 Views)

I'm assuming you are talking about Model Callbacks?  Or are you referring to Engine Callbacks?

 

With Model Callbacks (i.e. the green ones) it depends upon which process model you are using.  The process model can call them in any order it wants (it all depends on who wrote the model and how it was written).  The next thing you need to identify is which Execution Entry Point in the process model you are using.  Because that is where the entire process begins.  Then you can simply follow the steps in the execution entry point and see when it calls the callbacks.  That's the order they occur in. 

 

Here's a good document on using callbacks:

https://www.ni.com/en/support/documentation/supplemental/07/using-callbacks-in-ni-teststand.html

 

 Here's another one from the TestStand help:

https://www.ni.com/docs/en-US/bundle/teststand/page/model-callbacks-in-the-sequential-process-mod.ht...

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(5,660 Views)