NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I intergrate "SequenceFilePostStep" integrate into ModelSequence

Solved!
Go to solution

How can I intergrate "SequenceFilePostStep / PostUUT / PreUUT... " integrate into ModelSequence, I want keep one main sequence for each project.11.png

0 Kudos
Message 1 of 3
(3,340 Views)
Solution
Accepted by TabZhang

The green ones are easy.  They already exist in the process model.  Just take your code and move it tot he process model and then delete them out of your client sequence file.

 

The purple ones (Engine/Reserved Callbacks) are just as easy.  The trick is knowing the difference between the 3 levels of engine callbacks.  You basically have these 3 levels:

SequenceFile

  • Only applies to the steps and file within which it resides

ProcessModel

  • Only applies to the steps and file which is a client to the process model
  • Can only be implemented in a sequence file marked as a model

Station

  • Can only exist in StationCallbacks.seq
  • Applies to all steps and files (except for StationCallbacks.seq) on the entire station

 

So in your case you jsut move the purple ones to your process model and rename them to be prefixed with ProcessModel (e.g. SequenceFilePostStep now becomes ProcessModelPostStep).

 

Hope this helps,

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(3,292 Views)

This answer helpful, Thanks!

0 Kudos
Message 3 of 3
(3,278 Views)