10 irecoptions:: setfilterpolarity, Irecoptions:: setfilterpolarity – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 63

Advertising
background image

59

FireInspector Automation User’s Manual

CATC

Version 1.0

2.5.10 IRecOptions:: SetFilterPolarity

Sets the whether to filter in or out the recording events.

Syntax

HRESULT SetFilterPolarity (

[in] BOOL filter_out );

Parameters

filter_out

– possible values:

• TRUE – filter out

• FALSE – filter in

Return values

E_INVALIDARG

operation code and/or connection was specified

Remarks
By default all events are filtered out.

Example

WSH:

CurrentDir = Left(WScript.ScriptFullName,

InstrRev(WScript.ScriptFullName, "\"))

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

Set RecOptions = Analyzer.GetRecordingOptions

RecOptions.SetFilterPolarity 0 ' filter in

C++:

Advertising