What is a Callback in TestStand?Primary Software: TestStandPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: What are callbacks in TestStand? Solution: A callback is a sequence that is called by the TestStand engine under specific circumstances. TestStand has three categories of callback sequences that are based on the location where the callback is defined and on the specific entity that calls the callback. Model Callbacks The Model Callbacks are defined in the process model file or in a client sequence file and they are called by the sequences in the process model sequence file. Model callbacks allow you to customize the behavior of the process model for each sequence you run. You create a model callback in the process model sequence file, marking it as a model callback and then call it from the execution entry points. You can override the callback sequence in the process model file by using Edit>>Sequence File Callbacks to create a sequence of the same name in your sequence file. Engine Callbacks The Engine Callbacks have predetermined names and they are called by the Engine at specific points during execution. There are three groups of Engine Callbacks which are defined by the file where they appear. The Engine Callbacks can be defined in StationCallbacks.seq, the process model file, or the test sequence file. Front-End Callbacks Front-End Callbacks are sequences in the Front-EndCallbacks.seq file. You can implement your customized front end operations by writing them as sequences in the FrontEndCallbacks.seq, which is found at Related Links: Developer Zone Tutorial: Adding Custom Callbacks to TestStandModel.seq Developer Zone Tutorial: Modifying How TestStand Executes Sequences (Changing the Default TestStand Process Model) Developer Zone Tutorial: When should I Implement Changes to the Process Model Instead of Using Callbacks? Attachments:
Report Date: 03/30/2005 Last Updated: 11/15/2007 Document ID: 3JT9NORY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
