beautypg.com

17 ianalyzer::setconnectorsconfiguration, Ianalyzer::setconnectorsconfiguration – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 33

background image

27

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.3.17 IAnalyzer::SetConnectorsConfiguration

Sets the connectors configuration.
Supported only in BTTracer.

Parameters

role

- Sets the role of the configuration connectors of the connectors.

Can be one of the following values:

ANALYZERCONN_ROLE_DEFAULT= 0

ANALYZERCONN_ROLE_OUT_RADIO_DATA= 1

ANALYZERCONN_ROLE_OUT_CLK_CALIB= 2 *

radio_data_channel

- Sets the channel from which the data is to be streamed to the connec-

tors.

Can be one of the following values:

channel 1 = 0

channel 2 = 1

radio_data_dir

- Sets the direction of the data that is redirected to the connectors:

Can be one of the following values:

Received = 1

Transmitted = 2

Both directions = 3

clock_cal_channel

- Reserved. Currently not used.

* Supported only by Merlin II analyzer.

Return values

Not Supported

ANALYZERCOMERROR_INVALIDVERSIONTYPE

-

specified version type is invalid

ANALYZERCOMERROR_ANALYZERNOTCONNECTED

-

analyzer device is not connected

Remarks

In BTTracer, the connectors can be set to two different configurations:

Default setting

In this configuration the connectors are going to be used as follows:
"- 'EXT OUT' (BNC)\n";
"- 'Trigger Out' (Breakout board)\n";

HRESULT SetConnectorsConfiguration (

EBTAnalyzerConnectorsRole role,

EBTAnalyzerRecChannel radio_data_channel,

EBTAnalyzerRadioDataDirection radio_data_dir,

EBTAnalyzerRecChannel clock_cal_channel)