9 ipegenoptions2::setreverselanes, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 102: Remarks, Example, Ipegenoptions2::setreverselanes

Teledyne LeCroy
Automation API for PETracer/PETrainer
97
6.3.9 IPEGenOptions2::SetReverseLanes
HRESULT SetReverseLanes (
[in] EDirection direction,
[in] BOOL reverse )
Allows lane reversal in the specified traffic direction.
Parameters:
direction
Enumerated value that provides traffic direction for lane reversal;
EDirection has the following values:
DIRECTION_UPSTREAM (0) - upstream traffic
DIRECTION_DOWNSTREAM (1) - downstream traffic
reverse
Specifies whether to reverse the lanes of the specified link direction
Return values
Remarks
Example
WSH:
Set Analyzer = WScript.CreateObject( “CATC.PETracer” )
Set GenOptions = Analyzer. GetGenerationOptions
GenOptions.SetReverseLanes( 0, 1 )
‘ reverse lanes in upstream traffic
GenOptions.SetReverseLanes( 1, 1 )
‘ reverse lanes in downstream traffic
C++: