Page 6 of 35, Myfunction( arg ) { if( arg == “blah” ) return 1 – Teledyne LeCroy IBTracer 4X - IBTracer Verification Script Engine Users Manual User Manual

Page 6

Advertising
background image

Computer Access Technology Corporation

IBTracer Verification Script Engine Manual, version 1.0


Page 6 of 35

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

ProcessData()

#

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

#

######################################################################################
# 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

#

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

#

#

ProcessData()
{

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

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

return Complete();

}

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

OnFinishScript()

#

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

######################################################################################
# It is a main script function called by the application when the script 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;

Advertising
This manual is related to the following products: