beautypg.com

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

Page 209

background image


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

ISerialSCSICaptureProject 209


NOTE: After using AddCapturePattern method and changing the parameter value and the

direction of pattern to a value, call the UpdateResouce method.

See Also

AddConditionExprPattern

AddConditionExprPattern

long AddConditionExprPattern (

int nStateId,

int nConditionIndex,

PatternTypeEnum ePatternType,

VARIANT *vtDirection,

VARIANT *vtSubChannelDirection,

long* pErrorCode);

Inputs
int nStateId

ID for a state in advanced mode

(it is "don’t care" in easy mode).


int nConditionIndex

Index for a condition in advanced mode

(it is "don’t care" in easy mode).


PatternTypeEnum ePatternType

Pattern Type ID

(see

Pattern Types definition

).


VARIANT *vtDirection

Direction of 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 the 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.