Chapter 23: the vse important script files, 1 example script files, Chapter 23 – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual
Page 85: The vse important script files, Xample, Cript, Iles

85
Chapter 23: The VSE Important Script Files
The VSE working files are located in the ..\SASVFScripts or ..\SATAVFScripts subfolder of
the main SAS Protocol Suite or SATA Protocol Suite folder. The current version of VSE
includes the following files:
File
Description
VSTools.inc
Main VSE file containing definitions of some generic and
SAS/SATA-specific VSE script functions provided by Teledyne
LeCroy (must be included in every script).
NOTE: The files VS_constants.inc and VS_Primitives.inc are
included.
VS_constants.inc
File containing definitions of some important generic and
SAS/SATA-specific VSE global constants
VSTemplate.sasv_
Template file for new verification scripts.
VSUser_globals.inc
File of user global variable and constant definitions (In this file, it
is useful to enter definitions of constants, variables, and functions
to be used in many scripts you write.)
VS_OOB.inc
OOB definitions and utilities
VS_Primitives.inc
Primitives definitions and utilities
VS_SMPFrames.inc
SMP Frames definitions and utilities
VS_SSPFrames.inc
SSP Frames definitions and utilities
VS_STPFrames.inc
STP Frames definitions and utilities
VS_AddressFrames.inc
Address Frames definitions and utilities
VS_ATACommands.inc
ATA Commands definitions and utilities
VS_SCSICommands.inc SCSI Commands definitions
23.1 Example Script Files
The VSE example files are located in the ..\SASVFScripts\Examples or
..\SATAVFScripts\Examples subfolder of the main SAS Protocol Suite or SATA Protocol Suite
folder. The current version of VSE includes the following files:
File
Description
sample_ata_commands.sasvs
Sample script that explains how to handle ATA
command events
sample_ssp_protocol.sasvs
Sample script that explains how to manage SSP
Protocol event Information
SMP_DiscoverAndReporTracking.sasvs Sample script that outputs SMP Functional
specific information
SampleViewer_ALL.sasvs
Sample script to output all trace events
sample_event_count.sasvs
Sample script to show how count number of
events for a category, sub-category and their
corresponding fields
TimeLogicalFunc.sasvs
Sample script that shows how to work with Time
Logical functions of VSE
ProtocolError.sasvs
Sample script to detect protocol errors