beautypg.com

Detach, Getlayerindex, Getlayername – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 370

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ISASGeneralService 370

Detach

Detach (

BYTE yDefaultPort);


Inputs
BYTE yDefaultPort

Interface to use, for example, USB or TCP


Return Value
None.

Remark
After calling the ShutdownSystem method, you must call the Detach method to disconnect from

the board.

GetLayerIndex

int GetLayerIndex (

int nLayerID)


Inputs
int nLayerID

Layer ID for a layer (see

Layer definition

).


Return Value
Specifies the Layer index for a layer.

Remark
Returns the Index of the layer of the application specified by its ID (see

Layer definition

).

Using the layer index, you can get the layer name using the GetLayerName method.