Teledyne-lecroy UWBTrainer Exerciser Script Language Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Ekwipunek Teledyne-lecroy UWBTrainer Exerciser Script Language. Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 0
1 2 3 4 5 6 ... 123 124

Podsumowanie treści

Strona 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

Strona 2 - Version

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

Strona 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

Strona 4

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

Strona 5

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

Strona 6

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

Strona 7

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

Strona 8

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

Strona 9 - 1 Introduction

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

Strona 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

Strona 11 - 3 Comments

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

Strona 12 - 4 File-Including Directives

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

Strona 13 - 5 Constant Declarations

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

Strona 14 - 6 Data Pattern Declarations

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

Strona 15 - 7.1 Generation Settings

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

Strona 16

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

Strona 17

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

Strona 18 - 7.2 Simulation Settings

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

Strona 19

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

Strona 20

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

Strona 21

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

Strona 22 - 8.2 Field Definitions

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

Strona 23 - Example

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

Strona 24

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

Strona 25

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

Strona 26

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

Strona 27

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

Strona 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

Strona 29

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

Strona 30 - Declarations

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

Strona 31

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

Strona 32

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

Strona 33

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

Strona 34

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

Strona 35

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

Strona 36 - ':' directive

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

Strona 37

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

Strona 38

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

Strona 39

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

Strona 40 - Attribute

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

Strona 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

Strona 42

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

Strona 43

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

Strona 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

Strona 45

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

Strona 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

Strona 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

Strona 48

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

Strona 49

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

Strona 50

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

Strona 51

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

Strona 52

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

Strona 53

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

Strona 54

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

Strona 55

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

Strona 56

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

Strona 57

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

Strona 58 - 9.7 Timer Instructions

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

Strona 59

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

Strona 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

Strona 61

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

Strona 62

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

Strona 63 - 9.10 Wait Instructions

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

Strona 64 - 9.11 Until Instructions

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

Strona 65

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

Strona 66

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

Strona 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

Strona 68

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

Strona 69

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

Strona 70 - 9.15 If Instructions

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

Strona 71

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

Strona 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

Strona 73 - 9.17 BreakLoop Instruction

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

Strona 74 - 9.18 Exit Instruction

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

Strona 75

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

Strona 76

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

Strona 77 - 9.19.4 Trace Instruction

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

Strona 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

Strona 79

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

Strona 80

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

Strona 81

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

Strona 82 - # variable)

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

Strona 83

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

Strona 84 - ] = 0xAA

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

Strona 85

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

Strona 86

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

Strona 87

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

Strona 88 - Assignments

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

Strona 89

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

Strona 90

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

Strona 91

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

Strona 92

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

Strona 93

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

Strona 94

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

Strona 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

Strona 96

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

Strona 97

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

Strona 98

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

Strona 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

Strona 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

Strona 101

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

Strona 102 - Procedure Insertions

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

Strona 103

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

Strona 104

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

Strona 105

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

Strona 106

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

Strona 107

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

Strona 108

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

Strona 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

Strona 110

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

Strona 111

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

Strona 112

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

Strona 113

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

Strona 114

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

Strona 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

Strona 116 - "\" automatically

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

Strona 117

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

Strona 118

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

Strona 119

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

Strona 120

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

Strona 121

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

Strona 122

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

Strona 123

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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag