Verification script structure, 2verification script structure – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual
Page 7
![background image](/manuals/353636/7/background.png)
LeCroy Corporation
Verification Script Engine Manual, version 2.2
2
Verification Script Structure
Writing verification scripts is easy, if you understand how the UWBTracer™ application interacts with
running scripts and if you follow some rules imposed by the verification script syntax.
The main file with the text of the verification script must have extension .vse. It must be located in the
subfolder ..\Scripts\VFScripts of the main UWBTracer folder. Some other files must be included in the main
script file using the directive %include. (See the LeCroy Protocol Analyzers File-Based Decoding User Manual
for details.)
The following schema presents a common structure of a verification script. It is similar to the script template
VSTemplate.vs_, which is included with VSE.
#
# VS1.vse
#
# Verification script
#
# Brief Description:
# Verify something.
#
############################################################################################
# Module info #
############################################################################################
# Filling of this block is necessary for proper verification script operation... #
###########################################################################################
set DecoderDesc = "<Your Verification Script description>";
# Optional
###########################################################################################
#
# Include main Verification Script Engine definitions.
#
%include "VSTools.inc"
# Should be set for all verification scripts.
Page 7 of 95