beautypg.com

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

Page 360

background image


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

ISerialSCSICaptureProject 360

UpdateHardwareResource

UpdateHardwareResource (

int nStateId,

int nConditionIndex,

long lPatternIndex,

PatternTypeEnum ePatternType,

VARIANT *vtDirection,

VARIANT *vtSubChannelDirection ,

PatternUsingTypeEnum ePatternUsingType,

BOOL bIsForEdit,

long* plErrorCode);


Inputs
int nStateId

ID for a state in advanced mode.


int nConditionIndex

Index for a condition in advanced mode.

(It is "don’t care" in capture pattern)


long lPatternIndex

Identifier of target trigger pattern or capture

pattern.


PatternTypeEnum ePatternType

Target capture pattern type.

(see

PatternTypeEnum

)


VARIANT *vtDirection

Direction of target pattern.

This variant comes from a ByteArray type.

This Byte Array contains direction of all boards as

byte.


VARIANT *vtSubChannelDirection

Sub Channel Directions of pattern.

This variant comes from a ByteArray type.

This Byte Array contains Sub Channel direction of

all boards as byte.

This parameter is for the muxing feature. If

Muxing feature is disabled, Insert zero to the byte

array for Sub Channel directions. Size of this array

is equal to Size of Direction array.