beautypg.com

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

Page 316

background image


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

ISerialSCSICaptureProject 316

SetConditionExprPatternDirection

SetConditionExprPatternDirection (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

VARIANT *vtDirection,

VARIANT *vtSubChannelDirection);


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).


int nExprTokenIndex

Trigger pattern index in easy mode or index for a token

added for this condition in advanced mode.


VARIANT *vtDirection

Target trigger pattern direction.

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.


Return Value
None.

Remark
Sets direction of the pattern added in trigger items in easy mode or pattern of a condition in

advanced mode.