beautypg.com

Getifinstructionnumberofcondition, Getiflastframeinstrdevicetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 422

background image


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

IExerciserEngine 422

GetIfInstructionNumberOfCondition

BOOL GetIfInstructionNumberOfCondition (

int nInstructionIndex,

int* piNumberOfCondition);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

int* piNumberOfCondition

Number of exist conditions based on previous command.


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

Remark
Returns Number of defined Condition for If instruction based on previous command.
Call this method only for the If instruction.

GetIfLastFrameInstrDeviceType

BOOL GetIfLastFrameInstrDeviceType (

int nInstructionIndex,

DeviceTypesEnum* peDeviceTypes);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

DeviceTypesEnum* peDeviceTypes

Device type for If on last received frame if its protocol

type was Identify frame (see

DeviceTypesEnum

)


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

Remark
Returns device type of an identify frame for If on last received frame.
NOTE: Device type is valid only for If on last received frame, if its protocol type was Identify

frame.

See Also

SetIfLastFrameInstrDeviceType