beautypg.com

11 irecoptions:: setfilterpolarity, Irecoptions:: setfilterpolarity – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 111

background image

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

111

7.1.11 IRecOptions:: SetFilterPolarity


HRESULT SetFilterPolarity (

[in] BOOL filter_out );


Sets whether to filter recording events in or out.


Parameters

filter_out

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.USBTracer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetFilterPolarity 0 ' filter in



C++: