11 isasanalyzer::attach – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 23

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

23

3.1.11 ISASAnalyzer::Attach


HRESULT Attach ( )

[in] BYTE yDefaultPort,
[in] BSTR bstrDeviceId,
[in] BSTR bstrSystemPath,

[out, retval] int* pnErrorCode)

Attaches the SASAnalyzer object to the board and lets it work with connected boards.

Parameters

yDefaultPort

An enumeration indicates a TCP or USB connection.


bstrDeviceId

A BSTR object specifies the Board ID as a string.


bstrSystemPath

Specifies the path of the system folder in which the software has been

installed.

pnErrorCode

A pointer to an integer which contains an error code about the situation
in which one or more error(s) has occurred.


Return values


Remarks

This function is used to connect to a board. This function will not connect to the specified board if
any other objects have been already connected to the same board.

Advertising