Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual
Page 9
LeCroy Corporation
Verification Script Engine Manual, version 2.2
######################################################################################
# ProcessEvent() #
######################################################################################
#
# #
######################################################################################
# Main script function called by the application when the next waited event #
# occurs in the evaluated trace. #
# #
# !!! REQUIRED !!! MUST BE IMPLEMENTED IN THE VERIFICATION SCRIPT #
######################################################################################
#
ProcessEvent()
#
{
#
# The function below shows the specified message only once,
# no matter how many times ProcessEvent is called.
#
ShowStartPrompt("ShowStartPrompt\n");
# Write the body of this function depending on your needs.
r
}
eturn Complete();
######################################################################################
# OnFinishScript() #
######################################################################################
#
######################################################################################
# Main script function called by the application when the script has completed #
# running. Specify in this function some resetting procedures for a successive run #
# of this script. #
# #
# OPTIONAL. #
######################################################################################
OnFinishScript()
{
}
return 0;
######################################################################################
# Additional script functions. #
######################################################################################
# #
# Write your own script-specific functions here. #
# #
######################################################################################
MyFunction(arg)
{
if(arg == “Blah”) return 1;
return 0;
}
Page 9 of 95