beautypg.com

Put partial memory – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 69

background image


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

Using Analyzer API 69

CSerialSCSICaptureProject::Put_SegmentBufferSize ()
Prototype

HRESULT put_SegmentBufferSize (long lNewVal);

Usage

-> put_SegmentBufferSize (

long>);

Inputs

long lNewVal: Size of each segment’s buffer in KBs

Return Value None
Description Call the put_SegmentBufferSize () function to set size of individual segment

buffer

Put Partial Memory

To set partial memory for sample collection, use the put_PartialMemory () function of SCSI

capture project with an Integer value of memory size as its parameter.
(Refer to TestCaptureProject -> TestCaptureProjectView.cpp ->
OnRunButton ().

)

m_pICaptureProject->put_PartialMemory (m_nMemorySize);

CSerialSCSICaptureProject::put_PartialMemory ()
Prototype

HRESULT put_PartialMemory (long lNewVal);

Usage

-> put_PartialMemory ();

Inputs

long lNewVal: Size of partial memory to be considered for sample extraction

Return Value None
Description Call the put_PartialMemory () function to set size of memory for sample

extraction.