beautypg.com

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

Page 381

background image


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

ISASGeneralService 381

GetNumberOfSupportedPortConfiguration

int GetNumberOfSupportedPortConfiguration (

int

nUnitNumber

,

PortFunctionTypeEnum

eFunction

);


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


Return Value
Number of supported port configuration based on given function.

Remark
Call this function to return the number of the supported port configuration based on existing

license code. Then use the

GetSupportedPortConfiguration function to

get a list of port

configurations.

See Also

GetSupportedPortConfiguration