Hapter, Ntroduction, Features of catc scripting language – Teledyne LeCroy CATC Scripting Language Reference Manual User Manual

Page 5: New in csl version 1.1, New in document revision 1.11, New in document revision 1.12

Advertising
background image

CATC S

CRIPTING

L

ANGUAGE

Reference Manual

C

HAPTER

1

Introduction

1

C

HAPTER

1: I

NTRODUCTION

CATC Scripting Language (CSL) was developed to create scripts that would allow
users to do file-based decoding with CATC USBTracer, USBMobile, and USBAd-
visor analyzers. CSL is used to edit CATC Decode Scripting (CDS) files. CATC
analyzers are equipped with built-in decoders in addition to script-based decoders
that can be modified by the users or implemented as-is. Decoding scripts for
analyzers are distributed in the /scripts directory. These scripts are tools to
decode and display transactions. Users can also add entirely new, customized
decoders.


CSL is based on C language syntax, so anyone with a C programming background
will have no trouble learning CSL. The simple, yet powerful, structure of CSL also
enables less experienced users to easily acquire the basic knowledge needed to start
writing custom scripts.

Features of CATC Scripting Language

Powerful -- provides a high-level API while simultaneously allowing

implementation of complex algorithms.

Easy to learn and use -- has a simple but effective syntax.

Self-contained -- needs no external tools to run scripts.

Wide range of value types -- provides efficient and easy processing of data.

Used to create built-in script-based decoders for analyzers.

May be used to write custom decoders.

General purpose -- is integrated in a number of CATC products.

New in CSL Version 1.1

Compound assignment operators added

Increment and decrement operators added

New in Document Revision 1.11

Fixed typos in examples for Call(), GetNBits(), NextNBits(),

Trace()

, GetBitOffset(), and PeekNBits().

New in Document Revision 1.12

• Added new CATC address.

Advertising