Attach, Detach, Selectn – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 369

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISASGeneralService 369
Attach
int Attach (
BYTE yDefaultPort,
VARIANT vDeviceIds,
ProductTypeEnum eProductType);
Inputs
BYTE yDefaultPort
Interface to use, for example, USB or TCP
VARIANT vDeviceIds
Each device has a unique ID. This parameter specifies device
IDs as a variant.
Device IDs must be collected in a string array and then
converted into the variant.
IDs are in hexadecimal format.
ProductTypeEnum eProductType Product type.
All defined interfaces may be created for SAS or SATA.
(see
Return Value
Saves the Error Code if error occurs.
Remark
You must call this method first to connect to the board (after calling the InitializeSystem
method). Initializes all required settings to connect to the board.
You must call the Detach method to disconnect from the board.