beautypg.com

Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 9

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 9 of 115



######################################################################################
# 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()
{


# Write the body of this function depending on your needs.


Return 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;
}