beautypg.com

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

Page 54

background image


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

Using Analyzer API 54

CSerialSCSIExtraction::put_AnalyzerSpeed ()
Prototype

HRESULT put_AnalyzerSpeed (unsigned char yPort, AnalyzerSpeedEnum pVal);

Usage

-> put_AnalyzerSpeed

(, );

Inputs

int nIndex: Board Index

AnalyzerSpeedEnum eAnalyzerSpeed: Speed of the analyzer in terms of Gbps

Return Value None
Description Call put_AnalyzerSpeed () method to set the current speed of the Analyzer

capture project

CSerialSCSICaptureProject::GetLinkIsEnable ()
Prototype

long GetLinkIsEnable (int nIndex);

Usage

long lLinkIsEnable = -> GetLinkIsEnable ();

Inputs

int nIndex: Board Index

Return Value Returns enable status of the link
Description Call GetLinkIsEnable () method to check the enable status of the link.
CSerialSCSIExtraction::SetAnalyzerLinkEnable ()

Prototype

HRESULT SetAnalyzerLinkEnable (unsigned char yBoardIndex,

ProjectTypeEnum eProjectType, long bLink1IsEnable, long bLink2IsEnable);

Usage

-> SetAnalyzerLinkEnable

(, , , );

Inputs

unsigned char yBoardIndex: Index of the Board

ProjectTypeEnum eProjectType: Current running project type

Long bLink1IsEnable: Specifies whether first link in this board is enabled

Long bLink2IsEnable: Specifies whether second link in this board is enabled

Return Value None
Description Call the SetAnalyzerLinkEnable () method to set the enable status of both the

links of each connection board according to its board index. If you want to use

the entire memory of one board for a link, you should enable one link and

disable another link.