05-18-2017 01:53 PM
I have a project that has a top level sequence in a sequence file a.seq. In that sequence are calls to b.seq, c.seq, d.seq, etc.
If I add a callback override to SequenceFilePostStep is there any way to make that apply to all of the sequences in sequence files called by a.seq, or do I have to add the same override function to each sequence file?
Using Test Stand 2014.
05-18-2017 05:08 PM
By default, you overide engine callback just for particular sequence. As a workaround, you can put code to separate sequence file, and from callback call it as subsequence, in all your sequences. Then, they will share the same implementation of the callback.
Sincerely, kosist90
05-19-2017 02:21 AM
You can customize your process model to include a "ProcessModelFilePostStep" callback. This will execute for every step in client sequence files which execute using your customized model. So this will work regardless how many sequence files your UUT test includes (as long as it executes in the same model!).
Another option is to modify the StationCallbacks.seq and add a StationPostStep callback there. This will execute for every step executed on your station, regardless of the sequence file which contains the step.