beautypg.com

Getsupportedportconfiguration – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 382

background image


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

ISASGeneralService 382

GetSupportedPortConfiguration

DeviceConfiguartionTypeEnum

GetSupportedPortConfiguration (

int

nUnitNumber

,

PortFunctionTypeEnum

eFunction,

int

nPortConfigurationIndex

);


Inputs
int

nUnitNumber

Index of board (zero based).

When you use one board, it is 0.

PortFunctionTypeEnum eFunction

Specifiy port function as one of the following

enumurations:

Port_FUNCTION_ANALYZER

= 1,

Port_FUNCTION_DEVICE_EMULATOR

= 2,

Port_FUNCTION_INITIATOR_EMULATOR

= 3,

Port_FUNCTION_TRAINER

= 4,

Port_FUNCTION_JAMMER

= 5,

Port_FUNCTION_PERFORMANCE

= 6

int nPortConfigurationIndex

Specifiy port configuration index.


Return Value
Returns port configuration for given index.

Remark
Use this function with the

GetNumberOfSupportedPortConfiguration function

to get a list of all supported port configurations for a given function (Analyzer, Emulator,

InFusion, and Trainer).

See Also

GetNumberOfSupportedPortConfiguration