beautypg.com

Getprimitiveinstructionvalue, Getprotocolerrornumberofpacket – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 445

background image


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

IExerciserEngine 445

GetPrimitiveInstructionValue

BOOL GetPrimitiveInstructionValue (

int nInstructionIndex,

PrimitivesEnum* pPrimitiveValue);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

PrimitivesEnum* pPrimitiveValue

Primitive value of primitive instruction

(see

PrimitiveEnum

)

Return Value
Returns result of method, whether called by valid index or not.

Remark
Returns value of primitive instruction. Call this method only for primitive instruction.

See Also

SetPrimitiveInstructionValue

GetProtocolErrorNumberOfPacket

BOOL GetProtocolErrorNumberOfPacket (

short iLayerID,

int nPacketIndexInLayer,

int* pnProtocolErrorNumber);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

int* pnProtocolErrorNumber Number of assigned protocol errors for a packet.
Return Value
Returns result of method, whether called by valid index or not.
Remark
Returns number of assigned protocol errors for a packet corresponding to nPacketIndexInLayer

and iLayerID parameters.

See Also

GetPacketProperties