Teledyne-lecroy UWBTrainer Exerciser Script Language Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Teledyne-lecroy UWBTrainer Exerciser Script Language. Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 124
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Protocol Solutions Group
3385 Scott Blvd., Santa Clara, CA 95054
Tel: +1/408.727.6600
Fax: +1/408.727.6622
UWBTrainer™ Exerciser
Generation Script Language
Reference Manual
Manual Version 1.02
For UWBTracer/UWBTrainer Software Version 3.02
November 2007
Vue de la page 0
1 2 3 4 5 6 ... 123 124

Résumé du contenu

Page 1 - UWBTrainer™ Exerciser

Protocol Solutions Group 3385 Scott Blvd., Santa Clara, CA 95054 Tel: +1/408.727.6600 Fax: +1/408.727.6622 UWBTrainer™ Exercis

Page 2 - Version

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 2 2 Script Language Structure 2.1 Generation Script Structur

Page 3 - Contents

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 92 10.16 RAND Token You can use a RAND token in places where

Page 4

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 93 10.18 Global Numeric and Structure Variables You can decla

Page 5

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 94 10.19 Using the Call Directive for Generation Procedure In

Page 6

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 95 # The generation procedure now has one structure variable p

Page 7

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 96 Example 2 struct Generic { Data : * } Frame SOME_PACKE

Page 8

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 97 Main { $X = Generic { Data = { AA BB CC DD

Page 9 - 1 Introduction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 98 10.19.2 Calling a Generation Procedure with No Parameters

Page 10 - 2 Script Language Structure

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 99 10.19.3 Nested Calls Using Global Variables You can call a

Page 11 - 3 Comments

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 100 10.20 Parser Tracing Functions Parser tracing functions a

Page 12 - 4 File-Including Directives

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 101 10.20.2 PTraceVar( ) : Parser Trace Variable Format PTrac

Page 13 - 5 Constant Declarations

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 3 3 Comments Comments instruct the script parser to exclude t

Page 14 - 6 Data Pattern Declarations

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 102 10.20.3 PtraceVarEx( ) : Parser Trace Variable Extended F

Page 15 - 7.1 Generation Settings

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 103 79: Main 80: { 81: PTraceVarEx ( $Pkt_Var, $Pkt_Var2 )

Page 16

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 104 ALTERNATECHNUM = 7 (hex: 0x7) Å PTraceVarEx( alternatech

Page 17

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 105 10.20.4 PtraceTemplate( ) : Parser Trace Template Format

Page 18 - 7.2 Simulation Settings

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 106 ------------------------------------ Å PTraceTemplate (

Page 19

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 107 10.21 Name Aliasing You can specify different names for n

Page 20

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 108 10.22 Include Path Directive This feature allows you to s

Page 21

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 109 11 Appendix A – Generation Script Example #*************

Page 22 - 8.2 Field Definitions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 110 #=================================================# #

Page 23 - Example

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 111 #===================================================# #

Page 24

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 4 4 File-Including Directives To include a file in a generati

Page 25

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 112 ##########################################################

Page 26

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 113 ##########################################################

Page 27

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 114 # Wait for Data HNDSHK frame From Device to Host with

Page 28 - 8.2.8 Defining Subfields

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 115 # Wait for Data IN frame from Device to Host: SCSI Inq

Page 29

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 116 12 How to Contact LeCroy Type of Service Contact Call f

Page 30 - Declarations

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 5 5 Constant Declarations You can declare numeric script cons

Page 31

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 6 6 Data Pattern Declarations Data pattern declarations decla

Page 32

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 7 7 Global Generation Settings A generation script can define

Page 33

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 8 Receive Allows you to turn OFF(0) or ON(1) the UWBTrainer re

Page 34

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 9 Blocking Set the default behavior of Send Frame instructions

Page 35

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 10 7.2 Simulation Settings This group of settings does not af

Page 36 - ':' directive

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 11 7.3 Generation Settings Syntax The syntax for generation n

Page 37

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual ii Document Disclaimer The information contained in this docum

Page 38

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 12 7.5 Generation Settings inside Procedures Generation setti

Page 39

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 13 8 Frame and Structure Template Declarations Frame/structur

Page 40 - Attribute

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 14 8.2 Field Definitions You can define template fields using

Page 41 - 8.5.2 Another Example

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 15 8.2.2 Defining a Field at the Current Offset If the field

Page 42

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 16 8.2.3 Defining a Field with Variable Length If the field l

Page 43

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 17 8.2.4 Defining a Default Field Value When defining a field

Page 44 - 9 Generation Procedures

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 18 8.2.5 Specifying Byte Order in Field Definitions You can s

Page 45

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 19 8.2.7 List of Possible Field Values Attribute You can spec

Page 46 - 9.3 Instruction Parameters

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 20 8.2.8 Defining Subfields You can define named subfields fo

Page 47 - OVR_FCS) )

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 21 Main { # Send a frame with payload: 00 EE AA BB CC Se

Page 48

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual iii Contents 1 INTRODUCTION...

Page 49

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 22 8.3 Constants/Arithmetic Expressions in Template Declarati

Page 50

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 23 # MAC HEADER #------- Frame Control Multi-byte Fiel

Page 51

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 24 8.4 Frame Template Inheritance You can create a frame/stru

Page 52

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 25 # Template for generic RX frame Frame RX_FRAME : PLCP_RX {

Page 53

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 26 8.4.2 Frame Template Multiple Inheritance You can create a

Page 54

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 27 Examples # Frame payload fields struct FramePldFields {

Page 55

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 28 8.4.3 Frame Template Insert Directive You can insert field

Page 56

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 29 Example 2 Frame Combined : Base { Cmb_F1 : 8 : Te

Page 57

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 30 8.4.4 Complex Frame Templates Template insertions can simp

Page 58 - 9.7 Timer Instructions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 31 # Or use only template insertions instead of template inher

Page 59

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual iv 8.5 Frame Template Multi-byte Field Byte Order Attribute..

Page 60 - 9.7.4 Sleep Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 32 8.5 Frame Template Multi-byte Field Byte Order Attribute B

Page 61

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 33 8.5.2 Another Example Example struct IPv4Header_ (MSB) # I

Page 62

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 34 Examples Frame Base_0 (MSB) { F1 : 16 } Frame Base_1

Page 63 - 9.10 Wait Instructions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 35 8.6 Structure Declaration Examples To the parser, structur

Page 64 - 9.11 Until Instructions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 36 9 Generation Procedures A generation (or instruction) proc

Page 65

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 37 Format # Send instruction with a local field appended. Sen

Page 66

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 38 9.3 Instruction Parameters The parser searches the templat

Page 67 - 9.13 TxSleep Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 39 Note1: Set Burst to IGNORE if no bursts are being sent. Do

Page 68

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 40 To send a TX_Frame with SFOffset = 170 us without any Nanos

Page 69

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 41 # Register an RxFrame condition and keep the timestamp

Page 70 - 9.15 If Instructions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual v 10.17 RandStream( n ) Primitive ...

Page 71

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 42 9.4 Structure Variable Syntax Structure variables have a s

Page 72 - 9.16 Loop Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 43 9.5 Changing a Generation Setting The parser can change so

Page 73 - 9.17 BreakLoop Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 44 9.6 Register Condition Instructions You can register diffe

Page 74 - 9.18 Exit Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 45 Format in Short Form RegRxFrmCondition ( condition_name, [a

Page 75

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 46 9.6.1.1 Additional Rx Frame Header+Payload Condition param

Page 76

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 47 Examples Main { # Register the Rx Frame condition named

Page 77 - 9.19.4 Trace Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 48 $X = WM_FRAME # Declare a frame variable. {

Page 78 - 9.19.5 Trace_B Instruction

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 49 # Register Rx Frame condition: Any Rx Frame with error

Page 79

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 50 9.7 Timer Instructions You can register and manipulate the

Page 80

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 51 9.7.2 Stop Timer Instruction This instruction stops the UW

Page 81

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual vi List of Instructions, Comments, Definitions, Directives, Op

Page 82 - # variable)

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 52 9.7.4 Sleep Instruction This instruction instructs UWBTrai

Page 83

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 53 9.8 Revoke Condition Instruction You can instruct the UWBT

Page 84 - ] = 0xAA

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 54 9.9 Reset Condition Instruction You can reset the conditio

Page 85

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 55 9.10 Wait Instructions You can wait for registered conditi

Page 86

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 56 9.11 Until Instructions You can execute some code while wa

Page 87

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 57 # Send frames until condition 'HDR_COND' OR c

Page 88 - Assignments

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 58 9.12 Wait for the Next SuperFrame Instruction This instruc

Page 89

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 59 9.13 TxSleep Instruction This instruction instructs the UW

Page 90

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 60 9.14 Wait Frame Shortcut Instructions The Wait shortcut i

Page 91

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 61 Examples Main { # 1. Register a Rx Frame condition.

Page 92

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual vii RecOpt_parameter...

Page 93

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 62 9.15 If Instructions You can check whether some condition

Page 94

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 63 Examples Main { ConditionRegisterWMRxFrame( HDR_COND )

Page 95 - 10.11 Sizeof Operators

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 64 9.16 Loop Instruction You can run some code in a loop, a l

Page 96

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 65 9.17 BreakLoop Instruction You can break Loop instruction

Page 97

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 66 9.18 Exit Instruction You can stop script execution at any

Page 98

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 67 9.19 Analyzer Control Instructions You can control the UWB

Page 99 - 10.15 Forward Declarations

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 68 9.19.2 StopRecording Instruction You can instruct the appli

Page 100 - 10.16 RAND Token

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 69 9.19.3 TriggerAnalyzer instruction You can instruct the app

Page 101

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 70 9.19.5 Trace_B Instruction You can instruct the application

Page 102 - Procedure Insertions

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 71 10 Advanced Script Parser Features The script parser has s

Page 103

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual viii [blank page]

Page 104

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 72 10.2 Local Structure Parser Variables You can declare a lo

Page 105

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 73 # Explicitly instruct the script parser to create a new

Page 106

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 74 10.3 Using Local Fields in Structure Variables You can dec

Page 107

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 75 10.4 Changing Structure Parser Variables You can change a

Page 108

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 76 # Note: If the length value is omitted, the default is

Page 109

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 77 # Send a frame of {FF 00 FE FD FC 66 77 88 00 00 00 00

Page 110

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 78 # Change $X from the above to # {C0 01 C0 DE 11 22

Page 111

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 79 10.5 Sending Frames using Structure Variables You can send

Page 112

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 80 10.6 Using Special Data Pattern Creators in Field Assignme

Page 113

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 81 10.7 Using Structure Variables to Assign Field Values You

Page 114

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 1 1 Introduction The UWBTrainer™ Generation Script Language a

Page 115 - 10.21 Name Aliasing

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 82 10.8 Using Multipliers to Assign Field Values You can use

Page 116 - "\" automatically

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 83 10.9 Using the Append Operator in Field Assignments You ca

Page 117

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 84 10.10 Initializing Struct Variables from Hex Streams You c

Page 118

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 85 10.10.2 Assignments for Variables with Variable Length Fie

Page 119

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 86 Main { $BeaconSlot2 = { 00 0C 00 D0 00 00 00 FF FF 02 0

Page 120

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 87 10.11 Sizeof Operators Several kinds of sizeof operators a

Page 121

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 88 10.12 Preprocessor Integer Arithmetic You can declare a pr

Page 122

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 89 10.13 Preprocessor If Operator A special preprocessor dire

Page 123

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 90 10.14 Preprocessor Loop Operators Note: Loop operators can

Page 124 - 12 How to Contact LeCroy

LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual 91 10.15 Forward Declarations You can use declared items in g

Commentaires sur ces manuels

Pas de commentaire