beautypg.com

5 irecoptions::setposttriggerpercentage – Teledyne LeCroy SierraFC Automation API User Manual

Page 50

background image

LeCroy Corporation

SierraFC M8-4 API Reference Manual

Manual Version 1.00

50

5.1.5 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 values

E_INVALIDARG –

invalid percentage was 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.FCAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetPostTriggerPercentage 60 ' 60%

C++: