Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua herunter. Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual [fr] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Reference Manual

PROTOCOL SOLUTIONS GROUP 3385 SCOTT BLVD. SANTA CLARA, CA 95054 User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manu

Seite 2 - Copyright

7 Expression Structure An expression can be a combination of: o Logical and compare operators ( or ,and ,not, >, <, <>, =) o Arithmet

Seite 3 - Table of Contents

8 Advanced Script Language Programming A script contains three required sections, with only one of each type: o Product Section: Indicates the prod

Seite 4 - Introduction

9 Protocol Decoding Section [Decoding] Define Options Block Valid Ranges Block Main Block End As specified above, th

Seite 5 - User-Defined Commands

10 Valid Ranges Block ValidRanges fieldId 1 = ( Value1 , Value2 ); fieldId 2 = ( Value1 , Value2 ); ... EndValidRanges Remark This statement s

Seite 6

11 Main Block Main block contains statements. Block { Statement 1 ; Statement 2 ; Statement 3 ; … } ASL Decoding Statements Below

Seite 7

12 BitStuff BitStuff ( FieldId , n ) Remark If, in a protocol, one field transfers after bitstaffing algorithm, you can see actual value of that f

Seite 8

13 If If Expression Then Block1 Else If Expression Then Block2 Else If Expression Then Block3 Else Block4 R

Seite 9 - Language Elements

14 Repeat Repeat Expression Block Remark This statement repeats all commands in block until Expression is TRUE. Example F1 = AddField

Seite 10 - Comments

15 SubFieldOf SubFieldOf (FiledId [, Separeted]) Block Remark This statement specifies subfields of a specific field. Note that all AddField state

Seite 11 - Product Section

16 SetTableHeader SetTableHeader(string); SetTableHeader(OptionalFieldId); Remark This statement sets table header of interpreted data. Viewer sho

Seite 12 - Protocol Decoding Section

ii Document Disclaimer The information contained in this document has been carefully checked and is believed to be reliable. However, no responsibili

Seite 13 - Valid Ranges Block

17 SetFieldTableHeader SetFieldTableHeader(FieldId, string); SetFieldTableHeader(FieldId, OptionalFieldId); Remark If you specify that subfields o

Seite 14 - ASL Decoding Statements

18 Functions LengthOf ( Data ) Remark This function returns the length of Data. Parameters Data can be INPUTDATA or can be DataId of a data segm

Seite 15 - GetData

19 CURPOS Remark This function returns the current position of the cursor in bits of INPUTDATA. At first, CURPOS is zero and increases one field’s

Seite 16

20 Protocol Extraction Section The Protocol Extraction section specifies how the data is extracted from traffic to one or more endpoints. This sect

Seite 17 - Repeat Count

21 UDD Scripts Can Decode More Than One Command UDD scripts can decode more than one command, so it is not necessary to run more than one script at

Seite 18 - SubFieldOf

22 ATAPI User-Defined Decoding Assigning a Script to ATAPI Commands Open a sample, then choose User defined decoding … from the Configuration pull-

Seite 19 - SetTableHeader

23 The UDD ATAPI command can have one or more additional fields. In the following example, the UDD ATAPI command has four fields with a specific len

Seite 20 - SetFieldTableHeader

24 Assigning a UDD Script and Setting It as Default Script You can specify UDD items using two methods. Software User-Defined Decoding In this mode

Seite 21 - Functions

25 Sample User Defined Decoding In this mode, you can set UDD items for the current active sample file. Changes only apply to that sample file. Wh

Seite 22 - INPUTDATA

iii Table of Contents ASL MANUAL ...

Seite 23 - Protocol Extraction Section

1 ASL Manual This manual describes Advanced Script Language (ASL) for defining protocol decodes. It has sample code, documentation, and examples. I

Seite 24 - Command

2 User-Defined Commands User-defined commands help you add additional decoding to viewer. For example, if you have a new command with a vendor opcod

Seite 25 - ATAPI User-Defined Decoding

3 If application sees any syntax error in the script file, the software adds an Error In Script field to the command. The application also adds a

Seite 26

4 The next figure displays a trace file that contains a command with opcode 0x99. The software shows "unknown command" in the viewer

Seite 27 - Default Script

5 You can go to the Configuration > User Defined Decoding menu, check SCSI command, click browse, go to the \Examples\User Define Decoding Script

Seite 28 - Sample User Defined Decoding

6 Language Elements Integers ASL accepts integer values in decimal, binary, or hexadecimal formats. Floating point and negative numbers are not ac

Kommentare zu diesen Handbüchern

Keine Kommentare