beautypg.com

Derivative – Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 211

background image

Automation Command and Query Reference Manual - Processor Reference

Sweeps

Integer

From 1 to 1000000 step 1

Range

Sets / Queries the number of sweeps to be averaged when trace Fx is set to averaging - continuous or
summed.

Description

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

' Set number of sweeps to be averaged in trace F1 as 20.
app.Math.F1.Operator1Setup.Sweeps = 20

Example

DERIVATIVE

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

Computes the derivative of the waveform (next_sample_value - this_sample_value) / horizontal_sample_interval.

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

' Start a find scale operation for derivative function trace F1
app.Math.F1.View = True
app.Math.F1.MathMode = "OneOperator"
app.Math.F1.Operator1 = "Derivative"
app.Math.F1.Operato

Example

EnableAutoScale

Bool

Sets/Queries whether the autoscale function is enabled for the derivative function trace Fx. If enabled,
an auto-scale operation is performed whenever the setup changes.

Description

FindScale

Action

Initiates a Find Scale action, to set a suitable vertical scale for the derivative function trace Fx.

Description

VerOffset

Double

From -1e+006 to 1e+006 step 1e-009

Range

Sets/Queries the vertical offset of the derivative function trace Fx.

Description

EnableAutoScale

Bool

FindScale

Action

VerOffset

Double

VerScale

DoubleLockstep

2-2

918499 RevA