beautypg.com

3 generation settings syntax, 4 generation settings outside procedures, Generation settings syntax – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 19: Generation settings outside procedures, Set instru

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

11

7.3 Generation Settings Syntax

The syntax for generation numeric and string settings is:

Set NumericSetting = numeric value

Set StringSetting = "string value"

Examples

# Default time in nanoseconds after the previous frame

# to send the next frame.

Set

FrameDelay =

2000000

Set

UwbTxPower =

8

Set

UwbTxChannel =

9

7.4 Generation Settings outside Procedures

Generation settings specified outside the generation procedures are set before the first script
generation instruction is executed, no matter where they appear in the script. The two examples
below are equivalent.

Example 1

# Set a setting before the first instruction is executed.

Set

FrameDelay =

20000

Main

{

# Some generation instructions

}

Example 2

# Set a setting before the first instruction is executed.

Main

{

# Some generation instructions

}

# Set before the first instruction is executed,

# though the Set line is below the instruction in the script.

Set

FrameDelay =

12000