8 ifcanalyzer::attach – Teledyne LeCroy SierraFC Automation API User Manual
Page 19

LeCroy Corporation
SierraFC M8-4 API Reference Manual
Manual Version 1.00
19
3.1.8 IFCAnalyzer::Attach
HRESULT Attach ( )
[in] BYTE yDefaultPort,
[in] BSTR bstrDeviceId,
[in] BSTR bstrSystemPath,
[out, retval] int* pnErrorCode)
Attaches the FCAnalyzer 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.