Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Equipamento Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua. Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual [fr] Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Reference Manual

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

Página 2 - Copyright

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

Página 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

Página 4 - Introduction

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

Página 5 - User-Defined Commands

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

Página 6

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

Página 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

Página 8

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

Página 9 - Language Elements

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

Página 10 - Comments

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

Página 11 - Product Section

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

Página 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

Página 13 - Valid Ranges Block

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

Página 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

Página 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

Página 16

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

Página 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

Página 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-

Página 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

Página 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

Página 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

Página 22 - INPUTDATA

iii Table of Contents ASL MANUAL ...

Página 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

Página 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

Página 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

Página 26

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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários