
Teledyne LeCroy
Sierra Trainer Generation Language
458
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
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.
/*
This is an example of a block of comments.
*/
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:
%include “SomeInc.inc”
# This directive actually includes file 'SomeInc_1.inc'.
%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:
Predefined constants (TRUE, FALSE, ON, OFF, INFINITE)
Numbers
Examples:
Set AutoAlignSATA=ON
Set WaitTimeOut=239
5.12.4 Constants
Only unsigned integers can be defined as constants. Some constants are predefined in
Sierra Trainer
.
Examples:
Const SOME_HEX_DATA = 0xAABBFFEE #defines hexadecimal constant
Const SOME_DEC_DATA = 12 # defines decimal constant
Const "SOME DEC DATA" = 64 # defines decimal constant
Const "Some Hex Data" = 0xCDCDBEBE
5.12.5 Predefined Constants
TRUE
FALSE
ON
Содержание Sierra M6-2
Страница 37: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 35 Expandability Teledyne LeCroy ...
Страница 375: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 373 Interface Teledyne LeCroy ...
Страница 436: ...Teledyne LeCroy Scenario Batch Files 434 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Страница 526: ...Teledyne LeCroy 524 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...