Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 2.66 out of 5     Rate this Document

What is a Callback in TestStand?

Primary Software: TestStand
Primary 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 \Components\NI\Callbacks\FrontEnd. The Front-End Callbacks also allow multiple operator interfaces to share the same front-end operations, for example the Login dialog box.


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

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit