1 introduction, 1 support resources, Introduction – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 6: Support resources

Teledyne LeCroy
PETrainer Scripting Language
1
1 Introduction
This manual describes the scripting language used to create traffic generation files for
PETrainer™, including the Summit Z2-16™ and Summit Z3-16™ Trainers.
1.1 Support Resources
As new functionalities are added, not all of them are supported by older versions of the PETracer
software. For newer releases of the analyzer's software, please refer to Teledyne LeCroy's web
site:
Syntax
PETrainer™ Script files consist of the statements with the following format:
COMMAND = MODIFIER {
PARAM1 = VALUE1
...
PARAMn = VALUEn
}
See the list of all commands with all applicable modifiers on page 2. For some commands the list of the
parameters is optional.
All literals are not case sensitive.
All default values are zeros unless otherwise noted.
Integer literals represent numeric values with no fractions or decimal points.
Hexadecimal, decimal, and binary notations are supported:
• Hexadecimal numbers must be preceded by 0x: 0x2A, 0x54, 0xFFFFFF01
• Decimal numbers are written as usual: 24, 1256, 2
• Binary numbers are denoted with 0b: 0b01101100, 0b01, 0b100000
It is possible to use expressions, for example, (i - 239). See Page 65 for more examples.
String literals are surrounded by double quotes.
Array data types are represented by integer or string literals surrounded by “(“ and “)” characters, and
separated by a comma “,”. For example, (2,23,4).
Single-line comments are supported and should be preceded by a semicolon “;”.
Multi-line comments are also supported. Multi-line comments begin with a “/*” combination, and end with
the reverse “*/” combination.