3 writing scripts, Writing scripts, Write the script in script manager's work area – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 74

Advertising
background image

58

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

5

User’s Manual

Script Manager

The script's
output can
be viewed
in the Script
Log. If line
numbers are
referenced
in the Script
Log, double-clicking on the line number will move the cursor to that line
in Script Manager.

When the script has finished, the Stop button label will change back to
Run.

5.3 Writing Scripts

Customized scripts can be written directly in Script Manager using Merlin’s
Wand Scripting Commands. This allows for automating sequences of
commands. There are over 100 commands available for writing custom test
sequences, including basic commands and commands for: pipes, HCI,
L2CAP, SDP, RFCOMM, TCS, and OBEX. Detailed descriptions of the
commands can be found in Appendix C: Merlin’s Wand Scripting
Commands
, on page 155.

Step 1

Open Script Manager by clicking the Script Manager icon

on the toolbar or by selecting Tools > Script Manager

from the menu bar.

By default, Script Manager opens an “untitled” script template in the
Work Area for composing a new script. If Script Manager were already
open, the Work Area could be cleared by pressing the New button in
Script Manager or by selecting File > New Script from the menu bar.

Step 2

Write the script in Script Manager's Work Area.

Step 3

Save the script via the Save Script As… command on the

Advertising