Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua. Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual [fr] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - Reference Manual

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

Strany 2 - Copyright

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

Strany 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

Strany 4 - Introduction

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

Strany 5 - User-Defined Commands

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

Strany 6

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

Strany 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

Strany 8

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

Strany 9 - Language Elements

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

Strany 10 - Comments

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

Strany 11 - Product Section

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

Strany 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

Strany 13 - Valid Ranges Block

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

Strany 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

Strany 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

Strany 16

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

Strany 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

Strany 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-

Strany 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

Strany 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

Strany 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

Strany 22 - INPUTDATA

iii Table of Contents ASL MANUAL ...

Strany 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

Strany 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

Strany 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

Strany 26

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

Strany 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

Strany 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

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

Žádné komentáře