Teledyne-lecroy UWBTrainer Exerciser Script Language Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Teledyne-lecroy UWBTrainer Exerciser Script Language. Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 124
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 0
1 2 3 4 5 6 ... 123 124

Shrnutí obsahu

Strany 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

Strany 2 - Version

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

Strany 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

Strany 4

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

Strany 5

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

Strany 6

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

Strany 7

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

Strany 8

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

Strany 9 - 1 Introduction

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

Strany 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

Strany 11 - 3 Comments

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

Strany 12 - 4 File-Including Directives

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

Strany 13 - 5 Constant Declarations

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

Strany 14 - 6 Data Pattern Declarations

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

Strany 15 - 7.1 Generation Settings

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

Strany 16

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

Strany 17

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

Strany 18 - 7.2 Simulation Settings

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

Strany 19

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

Strany 20

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

Strany 21

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

Strany 22 - 8.2 Field Definitions

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

Strany 23 - Example

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

Strany 24

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

Strany 25

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

Strany 26

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

Strany 27

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

Strany 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

Strany 29

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

Strany 30 - Declarations

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

Strany 31

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

Strany 32

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

Strany 33

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

Strany 34

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

Strany 35

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

Strany 36 - ':' directive

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

Strany 37

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

Strany 38

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

Strany 39

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

Strany 40 - Attribute

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

Strany 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

Strany 42

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

Strany 43

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

Strany 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

Strany 45

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

Strany 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

Strany 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

Strany 48

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

Strany 49

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

Strany 50

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

Strany 51

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

Strany 52

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

Strany 53

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

Strany 54

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

Strany 55

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

Strany 56

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

Strany 57

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

Strany 58 - 9.7 Timer Instructions

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

Strany 59

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

Strany 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

Strany 61

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

Strany 62

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

Strany 63 - 9.10 Wait Instructions

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

Strany 64 - 9.11 Until Instructions

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

Strany 65

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

Strany 66

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

Strany 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

Strany 68

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

Strany 69

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

Strany 70 - 9.15 If Instructions

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

Strany 71

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

Strany 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

Strany 73 - 9.17 BreakLoop Instruction

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

Strany 74 - 9.18 Exit Instruction

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

Strany 75

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

Strany 76

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

Strany 77 - 9.19.4 Trace Instruction

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

Strany 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

Strany 79

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

Strany 80

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

Strany 81

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

Strany 82 - # variable)

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

Strany 83

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

Strany 84 - ] = 0xAA

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

Strany 85

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

Strany 86

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

Strany 87

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

Strany 88 - Assignments

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

Strany 89

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

Strany 90

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

Strany 91

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

Strany 92

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

Strany 93

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

Strany 94

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

Strany 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

Strany 96

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

Strany 97

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

Strany 98

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

Strany 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

Strany 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

Strany 101

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

Strany 102 - Procedure Insertions

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

Strany 103

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

Strany 104

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

Strany 105

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

Strany 106

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

Strany 107

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

Strany 108

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

Strany 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

Strany 110

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

Strany 111

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

Strany 112

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

Strany 113

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

Strany 114

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

Strany 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

Strany 116 - "\" automatically

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

Strany 117

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

Strany 118

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

Strany 119

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

Strany 120

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

Strany 121

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

Strany 122

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

Strany 123

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

Strany 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

Komentáře k této Příručce

Žádné komentáře