beautypg.com

Average – Teledyne LeCroy WaveRunner Automation Command User Manual

Page 332

background image

Automation Command and Query Reference Manual - Processor Reference

AVERAGE

app.Math.Fx.OperatorYSetup (Operator = "Average")

Waveform Averaging.

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

' Turn trace F1 on and setup to average the data from C1
' Average mode is set to Continuous
app.Math.F1.View = True
app.Math.F1.Operator1 = "Average"
app.Math.F1.MathMode = "OneOpe

Example

AverageType

Enum

Sets / Queries the averaging mode. Continuous and Summation modes are supported.

Description

Values

Continuous

Summed

ClearSweeps

Action

Clears all averaged sweeps.

Description

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

' Clear sweeps for average in trace F1.
app.Math.F1.Operator1Setup.ClearSweeps

Example

InvalidInputPolicy

Bool

AverageType

Enum

ClearSweeps

Action

InvalidInputPolicy

Bool

Sweeps

Integer

2-1

918500 RevA