ProcessModelPostResultListEntry Callback Not Being Fired in TestStandPrimary Software: TestStandPrimary 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 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
