5 irecoptions::setposttriggerpercentage, Irecoptions::setposttriggerpercentage – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual
Page 58

54
FireInspector Automation User’s Manual
CATC
Version 1.0
2.5.5
IRecOptions::SetPostTriggerPercentage
Sets the post-trigger buffer size.
Syntax
HRESULT SetPostTriggerPercentage (
[in] short posttrigger_percentage );
Parameters
•
posttrigger_percentage
–
the size of post-trigger buffer in percents of the whole
recording buffer (see section 2.5, Primary Dual Interface for Recording Options, on
page 49)
Return values
•
E_INVALIDARG
–
invalid percentage was specified
Remarks
This method call has no effect if recording mode was set to
RMODE_SNAPSHOT
tion 2.5.3, IRecOptions::SetRecMode, on page 52).
The default setting is 50%.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetPostTriggerPercentage 60' 60%
C++: