Irecoptions::reset, Isasrecoptions interface – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 101

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

95

SASRecOptions Object

Teledyne LeCroy

IRecOptions::Reset

HRESULT Reset ( )

Resets the recording options to the initial state.

Parameters

Return Value

Remarks

For default values of recording options, see the remarks sections of the

 IRecOptions 

Interface

 and 

ISASRecOptions Interface

 methods.

Example

WSH:

Set Analyzer =

WScript.CreateObject("LeCroy.SASAnalyzer")

Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetRecMode 2 ' Event trigger
RecOptions.SetBufferSize 1024*1024 ' 1 MB
RecOptions.SetPostTriggerPercentage 60 ' 60%
. . .
RecOptions.Reset()

C++:

ISASRecOptions Interface

This interface is identical to the 

IRecOptions Interface

.

Advertising