Chapter 1: introduction, Features of catc scripting language, New in csl version 1.1 – Teledyne LeCroy BPT - References Manual User Manual

Page 5: 1 introduction, Hapter, Ntroduction

Advertising
background image

1

CATC S

CRIPTING

L

ANGUAGE

1.1

C

HAPTER

1

Reference Manual

Introduction

C

HAPTER

1: I

NTRODUCTION

CATC Scripting Language (CSL) is used to write test scripts for the CATC BPT™,
a Bluetooth™ production tester. The BPT uses test scripts to execute Bluetooth
commands on devices under test (DUTs). Several test scripts are included with the
BPT software installation. They can be used as-is or modified by a test engineer.
Additionally, brand new, customized scripts may be written. This allows test
engineers to add specialized tests to suit specific production needs.

The test scripts that CATC supplies for the BPT are distributed in the directory in
which the BPT application is installed. They are identifiable by the .script exten-
sion.

If you plan to modify any of the scripts that come with the BPT, it's a good idea to
make backups of the original scripts before making changes.

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.

General purpose — is integrated into a number of CATC products.

New in CSL Version 1.1

Compound assignment operators added

Increment and decrement operators added

Advertising