beautypg.com

Setprojecttype, Removeassignedresource – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 292

background image


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

ISerialSCSICaptureProject 292

SetProjectType

SetProjectType (

ProjectTypeEnum newVal);


Inputs
ProjectTypeEnum newVal

Sets type of project. (see

ProjectTypeEnum definition

).


Return Value
None.

Remark
Each capture project may be analyzer only or exerciser/analyzer. This function sets the type. In

exerciser/analyzer, GetExerciserInterface returns Interface of exerciser and calls all exerciser

methods.

RemoveAssignedResource

RemoveAssignedResource (

int nStateId,

int nConditionIndex,

long lPatternIndex,

PatternTypeEnum ePatternType,

BYTE yDirection,

PatternUsingTypeEnum ePatternUsingType,

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

Capture pattern index or trigger pattern index in easy mode

or index for a token added for this condition in advanced

mode.


PatternTypeEnum ePatternType

Pattern Type ID (see

Pattern Types definition

).