Language; Comments; Includes; Settings - Teledyne Sierra M6-2 User Manual

Sas/sata protocol analyzer
Table of Contents

Advertisement

Teledyne LeCroy

5.12.2 Language

Comments

#' is the Comment symbol. The line remainder after this symbol is ignored.
/*' '*/' is a Comment Block. All the text between '/' '*' and '*' '/' is ignored.

Includes

The directive %include "FileName.inc" includes the file FileName.inc. This lets you add
common definitions and templates into new scripts.
The language parser makes sure the same file is not included more than once.
Example:
%inline is the same as %include, but without the Language parser check.

5.12.3 Settings

The Set "Constant Name" = Value statement sets different constants/modes using the
following value types:
Examples:

5.12.4 Constants

Only unsigned integers can be defined as constants. Some constants are predefined in
Sierra Trainer.
Examples:

5.12.5 Predefined Constants

458
/*
This is an example of a block of comments.
*/
%include "SomeInc.inc"
# This directive actually includes file 'SomeInc_1.inc'.
Predefined constants (TRUE, FALSE, ON, OFF, INFINITE)
Numbers
Set AutoAlignSATA=ON
Set WaitTimeOut=239
Const SOME_HEX_DATA = 0xAABBFFEE #defines hexadecimal constant
Const SOME_DEC_DATA = 12
Const "SOME DEC DATA" = 64
Const "Some Hex Data" = 0xCDCDBEBE
TRUE
FALSE
ON
Sierra Trainer Generation Language
# defines decimal constant
# defines decimal constant
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents