Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 8

Advertising
background image

Verification Script Engine Reference Manual

3

######################################################################################
# OnStartScript() #
######################################################################################
# #

# It is a main intialization routine for setting up all necessary #
# script parameters before running the script. #

# #

######################################################################################


OnStartScript()
{

######################################################################################

# Specify in the body of this function initial values for global variables #
# and what kinds of trace events should be passed to the script. #
# ( By default, only Primitive events from all channels #
# will be passed to the script.

#

# #

# For details – how to specify what kind of events should be passed to the script #

# please see the topic ‘sending functions’. #
# #

# OPTIONAL. #
######################################################################################



# Uncomment the line below - if you want to disable output from
# ReportText()-functions.
#
# DisableOutput();
}



######################################################################################
# ProcessEvent() #
######################################################################################
#
# #

######################################################################################

# It is a main script function called by the application when the next waited event #
# occured in the evaluated trace. #
# #

# !!! REQUIRED !!! – MUST BE IMPLEMENTED IN VERIFICATION SCRIPT #
######################################################################################

# #
ProcessEvent()
{

#
# The function below will show specified message only one time -
# no matter how many times ProcessEvent is called.
#
ShowStartPrompt("ShowStartPrompt\n");


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



return Complete();
}




Advertising