beautypg.com

10 iperecoptions2::setinvertpolarity, Parameters, Remarks – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 78: Iperecoptions2::setinvertpolarity

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

73

5.3.10 IPERecOptions2::SetInvertPolarity


HRESULT SetInvertPolarity (

[in] EDirection direction,
[in] int lane,
[in] BOOL invert )


Allows polarity inversion of the specified lane and specified traffic direction.

Parameters:

direction

Enumerated value that provides traffic direction for polarity inversion;

EDirection has the following values:

DIRECTION_UPSTREAM (0) - upstream traffic

DIRECTION_DOWNSTREAM (1) - downstream traffic

lane

Specifies the lane for polarity inversion

invert

Sets polarity inversion on the specified lane and specified link direction


Remarks

Implemented for PETracer ML and PETracer EML. Not implemented for PETracer x1. This call fails if

automatic polarity detection is enabled (see IPERecOptions2::SetAutoConfigPolarity, Page 64)