Access pipes using script manager, 3 receive pipes, Receive pipes – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 86

Advertising
background image

70

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

7

User’s Manual

Data Transfer Manager and Data Pipes

Boxes.

Step 5

Click the Execute button to send the data pipe.

The Event Log will show the transfer of data from Merlin's Wand to the
target device.

Access Pipes Using Script Manager

There are functions available in the scripting API to access pipes. They are:
OpenPipe, ClosePipe, ReadPipe, WritePipe, and DeletePipe. Please see
Section C.3, “Pipe Commands,” on page 160 for more information.

For a demonstration of using RFCOMM to wait for and receive a data pipe,
see Sample-2.script in Script Manager.

Note

: A data pipe needs to be created in Data Transfer Manager before the data can be

transferred. See Section 7.1, “Creating Data Pipes,” on page 67 to learn how to do
this.

7.3 Receive Pipes

Receive pipes are created automatically in the Data Receive page of Data
Transfer Manager when Merlin's Wand receives data from an L2CAP or
RFCOMM connection.

A receive pipe is a pipe that is
used to receive data until the
connection terminates. At that
point, the pipe can be closed,
saved to a file, or deleted. Note
that unless a receive pipe is
closed, any additional data that's
received will be put into that
pipe, even if the new data
represents a different file
transfer. To ensure that different
files will be put into separate
pipes, each pipe should be
closed after a connection has
completed. This way, a new
receive pipe will be created
when subsequent data arrives.

Advertising