beautypg.com

Getprojecttype, Getatacommandcapturepatternlbamode – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 214

background image


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

ISerialSCSICaptureProject 214

GetProjectType

ProjectTypeEnum GetProjectType ();

Input

Return Value
Returns type of project (see

ProjectTypeEnum definition

).


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

In exerciser/analyzer, with the GetExerciserInterface, you can get the Interface of exerciser and

call all exerciser methods.

See Also

SetProjectType

GetATACommandCapturePatternLBAMode

BOOL GetATACommandCapturePatternLBAMode (

int nStateId,

long lPatternIndex);

Inputs
int nStateId

ID for a state in advanced mode and

Capture ID (see

Capture ID definition

) in easy mode.


long lPatternIndex

Target capture pattern index.

Return Value
The target ATA Command capture pattern Mode (CHS or LBA).
Remark
Returns type of an ATA command pattern added in capture items. This mode may be LBA or

CHS. In LBA mode, an LBA parameter is defined and you can set/get its value, but in CHS all

related parameters (Sector Number, Cylinder Low, Cylinder High) are defined, and you can

set/get its value.
See Also

SetATACommandCapturePatternLBAMode

GetATACommandConditionExprPatternLBAMode