beautypg.com

8 ipegenoptions2::setautoconfig, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 101: Remarks, Example, Ipegenoptions2::setautoconfig

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

96

6.3.8 IPEGenOptions2::SetAutoConfig


HRESULT SetAutoConfig (

[in] BOOL auto_config )


Enables/disables automatic link configuration detection.

Parameters

auto_config

When TRUE, the following parameters of the generation options are

detected automatically:

• Link width (PETrainer ML only)
• Scrambling of outgoing traffic

• Descrambling of incoming traffic
• Lane reversal

• Polarity inversion of incoming traffic

Return values


Remarks

Example


WSH:

Set Analyzer = WScript.CreateObject( “CATC.PETracer” )
Set GenOptions = Analyzer.GetGenerationOptions( )
GenOptions.SetAutoConfig( 0 )

C++: