beautypg.com

12 irecoptions::reset, Irecoptions::reset – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 112

background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

112

7.1.12 IRecOptions::Reset


HRESULT Reset ( );


Resets recording options to its initial state.

Parameters

Return values


Remarks


For default values of recording options, see the remarks.

Example


WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.USBTracer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetRecMode 2 ' Event trigger
RecOptions.SetBufferSize 1024*1024 ' 1 MB
RecOptions.SetPostTriggerPercentage 60 ' 60%
. . .
RecOptions.Reset

C++: