5 createtransmitpipedata, Method, 6 createtransmitpipefile – Teledyne LeCroy Automation API for Bluetooth Exercisers User Manual
Page 10

CATC
Automation API for CATC Bluetooth Exercisers
Manual Version 1.01
7
BTTrainer 2.01
2.2.5 CreateTransmitPipeData Method
HRESULT CreateTransmitPipeData( BSTR pipe_name, VARIANT data )
Adds a transmit pipe to the data transfer manager. Initializes it with the data that is
passed in. Returns failure if a transmit pipe of the same name already exists.
BSTR pipe_name [in]:
Name of the pipe to add.
VARIANT data [in]:
Raw data to transmit. Currently only
VT_BSTR
is supported.
Errors:
BTEXERCISER_ERROR_PIPE_EXISTS:
A transmit pipe with this name already exists.
BTEXERCISER_ERROR_BUSY:
The application status not ready.
Requirements:
BTTrainer 2.01
2.2.6 CreateTransmitPipeFile Method
HRESULT CreateTransmitPipeFile( BSTR pipe_name, BSTR file_name)
Adds a transmit file pipe to the data transfer manager.
BSTR pipe_name [in]:
Name of the pipe to add.
BSTR file_name [in]:
Filename of server side file to use.
Errors:
BTEXERCISER_ERROR_PIPE_EXISTS:
A transmit pipe with this name already exists.
BTEXERCISER_ERROR_BUSY:
The application status not ready.
Requirements:
BTTrainer 2.01