Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

ProcessModelPostResultListEntry Callback Not Being Fired in TestStand

Primary Software: TestStand
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
The ProcessModelPostResultListEntry callback doesn't seem to be executing in TestStand. What controls whether or not that callback is executed?

Solution:
The TestStand engine calls the ProcessModelPostResultListEntry callback after the engine fills out the step result for a step in any client sequence file that the process model calls or in any resulting subsequence calls.

By default, the ProcessModelPostResultListEntry callback is only enabled when On-The-Fly Reporting or On-The-Fly Logging is selected.

It is possible to override the default behavior of when this callback is enabled. The Test UUTs and Single Pass execution entry points contain a sequence call step, Setup Post Result Callbacks that calls the Configure Post Result Callbacks sequence in the ModelSupport sequence file. This sequence contains two ActiveX/COM Action steps (Enable ModelResultCallback and Disable ModelResultCallback) that determine whether or not the ProcessModelPostResultListEntry callback is enabled. These two steps set the Execution.ModelPostResultCallbackEnabled property based on whether On-The-Fly Reporting or On-The-Fly Logging is enabled.

To force this callback to always be executed, set the Run Mode of these two steps to Skip and add another ActiveX/COM Action step before the Enable ModelResultCallback step. This new step can either set the Execution.ModelPostResultCallbackEnabled property to True or invoke the Execution.EnableCallback method with CallbackType_ModelPostResult and True as the parameters.

Once this is done, the ProcessModelPostResultListEntry callback will always execute.

Refer to Chapter 10 of the TestStand Reference Manual for further information on Customizing Process Models and Callbacks.

Related Links:
KnowledgeBase 3JT9NORY: What is a Callback in TestStand?

Attachments:





Report Date: 07/22/2005
Last Updated: 11/21/2006
Document ID: 3NLI2973

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