beautypg.com

Teledyne LeCroy UWBTracer User Manual User Manual

Page 264

background image

Chapter 15: Creating and Editing Generation Files

UWBTracer/Trainer User Manual

246

LeCroy Corporation

Step 2 Enter file information in the beginning comment lines:

#######################################################

# FILE INFORMATION:

# FILE:

# DESCRIPTION:

# REVISION HISTORY:

#######################################################

Step 3 Add a comment line by starting the line with #:

# INCLUDE FILES:

Step 4 To include main definitions and some WUSB templates, add an include

file line:

%include "Generation\Include\UwbGeneration.ginc"

Step 5 Add constants:

Const SOME_HEX_DATA = 0xAABBFFEE

Const SOME_DEC_DATA = 12

Step 6 Add data patterns:

DataPattern SetAddrReq = { 00 05 00 00 00 00 00 00 }

Step 7 Add frame and structure templates:

struct DeliveryID

{

Sel : 1 = 1 # Stream Index

Val : 3

}

Step 8 (optional) Add global variables.

Step 9 (optional) Add generation settings.