beautypg.com

Appendix a, Advanced script language (asl), Document conventions – Teledyne LeCroy Conquest User Manual - Users Manual User Manual

Page 213

background image

Appendix A

203

Appendix A

Advanced Script Language (ASL)

The Advanced Script Language (ASL) is an extension of the Upper Level
Protocol Decodes that allows you to define custom upper level protocol
decodes in addition to those provided with the product.

The ASL enables you to extract and interpret arbitrary data from the USB
stream by creating custom scripts.

You can use the ASL protocol decodes to decode any class or vendor-specific
requests, descriptors, protocols, or any structured data transferred over the
USB bus or to complement pre-defined protocols.

This appendix includes definitions, code snippets, and complete examples.
You can write the decode script files in any text editor or use the
Conquest Protocol Suite script editor (see example on page 240). You must
files saved with an *.asl file extension.

Document Conventions

This appendix uses the following convention to describe the script syntax.

Text Style

Meaning

bold

Functions, statements, or other reserved keywords

italics

Identifiers

underscored Expressions
< >

Code enclosed in "<" and ">" is optional

normal

Integer constants

" "

Strings

parameter1, …,

parameterN

Multiple entries

option1 | option2

Choice of options