3 iperecoptions3::getsimplefilter, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 82: Simplefilter object, Remarks, Example, Iperecoptions3::getsimplefilter

Teledyne LeCroy
Automation API for PETracer/PETrainer
77
5.4.3 IPERecOptions3::GetSimpleFilter
HRESULT GetSimpleFilter ( [in] EFilterType e_filter_type, [in] BOOL b_force, [out,
retval] IDispatch** ppISimpleFilter)
Returns simple filter interface of the given filter type.
Parameters:
e_filter_type
enum that can have following values:
FILTER_PERRET_OS_SKIP
( 1 )
FILTER_DLLP_UPDATE_FC ( 2 )
b_force - boolean that can be 1 or 0 (1 is for enforcing even if the
advanced trigger already exists. In this case the trigger will be converted
to the simple type);
Return values
SimpleFilter object
Remarks
Example
Set Analyzer = WScript.CreateObject("CATC.PETracer")
Set recOpt = Analyzer.GetRecordingOptions()
recOpt.SetRecMode(2)
ENFORCE = 1
FILTER_PERRET_OS_SKIP = 1
Set simpleFilter = recOpt.GetSimplefilter(FILTER_PERRET_OS_SKIP, ENFORCE)
See
for more information.