Irecoptions::setposttriggerpercentage – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 97

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

91

SASRecOptions Object

Teledyne LeCroy

IRecOptions::SetPostTriggerPercentage

HRESULT SetPostTriggerPercentage (

[in] short posttrigger_percentage );

Sets the post‐trigger buffer size.

Parameters

posttrigger_percentage

Size of the post‐trigger buffer in percent of the whole 
recording buffer (see 

IRecOptions::SetBufferSize

).

Return Value

E_INVALIDARG

Invalid percentage specified

Remarks

This method call has no effect if recording mode is set to 

RMODE_SNAPSHOT 

(see 

IRecOptions::SetRecMode

).

The default setting is 50%.

Example

WSH:

Set Analyzer =

WScript.CreateObject("LeCroy.SASAnalyzer")

Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetPostTriggerPercentage 60 ' 60%

C++:

Advertising