beautypg.com

Set trigger position in memory, Set output sample file path – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 70

background image


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

Using Analyzer API 70

Set Trigger Position in Memory

To set the trigger position in memory, call the put_TrigPosition () function of SCSI capture

project with percentage of pre-memory size as its parameter.
(Refer to TestCaptureProject -> TestCaptureProjectView.cpp ->
OnRunButton ().

)

m_pICaptureProject->put_TrigPosition
(m_nPercentOfPreMemorySize);

CSerialSCSICaptureProject::put_TrigPosition ()
Prototype

HRESULT put_TrigPosition (short sNewVal);

Usage

-> put_TrigPosition ();

Inputs

short sNewVal: Percentage of pre-memory size in short integer terms

Return Value None
Description Call the put_TrigPosition () function to set the position of the trigger in memory

as per the input of percentage of pre-memory size.

Set Output Sample File Path

To set path of a sample file, call the put_OutputFile () function of the SCSI Capture Project.
(Refer to TestCaptureProject -> TestCaptureProjectView.cpp ->
OnRunButton ().

)

m_pICaptureProject->put_OutputFile (bstrFileName);