beautypg.com

Using initiator/host emulator api functions, Use initiator/host emulator api – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 73

background image


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

73

Expression



Modify Capture



Set Trigger Position in memory


Set Partial Memory

Set Segmented Memory


Set Output File Name

Set Port Configuration

CSerialSCSICaptureProject::RemoveConditionExpr

Pattern ()


CSerialSCSICaptureProject::SetCaptureStrategy ()
CSerialSCSICaptureProject::AddCapturePattern ()
CSerialSCSICaptureProject::RemoveCapturePattern ()

CSerialSCSICaptureProject::put_TrigPosition ()


CSerialSCSICaptureProject::put_PartialMemory ()

CSerialSCSICaptureProject::put_NumberOfSegment ()
CSerialSCSICaptureProject::put_SegmentBufferSize ()

CSerialSCSICaptureProject::put_OutputFile ()

CSerialSCSICaptureProject::SetDeviceType ()

Using Initiator/Host Emulator API Functions

Two emulators are in the SAS/SATA Protocol Suite or STX software: Initiator Emulator and

Target Emulator.
To use APIs of initiator, you must create an instance of Exerciser Capture Project and then you

can create a new Exerciser Capture project or open a saved one. After these steps it can be

modified and run like an Analyzer Capture Project.

• Initialize an Initiator capture project object
• Create a new Initiator capture project

Run, stop, and create sample for an Initiator capture project

• Open a saved Initiator capture project

Modify an existing Initiator capture project

o

Add/insert a packet in Initiator

Add/insert ATA Command Packet

Add/insert SCSI Command Packet

Add/insert TASK Command Packet

Add/insert SMP Command Packet