Teledyne LeCroy WavePro Automation Command User Manual

Page 117

Advertising
background image

Automation Command and Query Reference Manual - Control Reference

'Select an stadard, run the test and clear the counter after a while
app.ElectricalTelecom.Standard = "E1Coax"
app.ElectricalTelecom.Setup
app.ElectricalTelecom.Run
app.Sleep 5000
app.ElectricalTelecom.Pause
app.Sleep 5000
app.ElectricalTelecom.ClearSweeps

Polarity

Enum

In many electrical standards, such as DS-1, alternate “ones” are inverted. Each time a one is
transmitted it is either a positive or negative going pulse depending upon the polarity of the
previous one. This type of coding is referred to as AMI (alternate mark inversion). The Polarity
control allows you to select which polarity (positive or negative) pulse to test.
The STS-3E and STM-1E standards use CMI (code mark inversion) pulse coding. In CMI coding,
a one remains high for the full bit period while a zero has a transition to the low state in the middle
of the bit period. The Polarity control allows you to select whether a 1 or 0 is to be tested.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.WaveMasterApplication.1")

'Select a stadard and set polarity to 'neg'
app.ElectricalTelecom.Standard = "E1Coax"
app.ElectricalTelecom.Polarity = "neg"
app.ElectricalTelecom.Setup

Example

Values

neg

Negative pulse

pos

Positive pulse

1-103

918501 RevA

Advertising
This manual is related to the following products: