beautypg.com

5 generation settings inside procedures, 6 arithmetic expressions in constants, Generation settings inside procedures – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 20: Arithmetic expressions in constants

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

12

7.5 Generation Settings inside Procedures

Generation settings specified inside a generation procedure are set only during script execution
by the UWBTrainer™ device.

Main

{

Set

FrameDelay =

24000

# Set during runtime.

}

7.6 Arithmetic Expressions in Constants

You can use arithmetic expressions, such as

+, -, *, /, %, >>, <<, &, |, ^, and ()


to define setting values.

Example

Const

SOME_CONST =

5

set

FrameDelay = (

2000000

+

5

) >> ( 8 + SOME_CONST )