11 irecoptions::reset, Irecoptions::reset – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 64

Advertising
background image

60

FireInspector Automation User’s Manual

CATC

Version 1.0

2.5.11 IRecOptions::Reset

Resets recording options to its initial state.

Syntax

HRESULT Reset ( );

Parameters

Return values

Remarks
For default values of recording options see the Remarks for Sections 2.5.1 to 2.5.10.

Example

WSH:

CurrentDir = Left(WScript.ScriptFullName,

InstrRev(WScript.ScriptFullName, "\"))

Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")

Set RecOptions = Analyzer.GetRecordingOptions

RecOptions.SetRecMode 2 ' Event trigger

RecOptions.SetBufferSize 1024*1024 ' 1Mb

RecOptions.SetPostTriggerPercentage 60 ' 60%

. . .

RecOptions.Reset

C++:

Advertising