beautypg.com

Chapter four, Roof – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 217

background image

Chapter Four

Control Reference

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

' Configure F1
app.Math.F1.View = True
app.Math.F1.Source1 = "C1"
app.Math.F1.MathMode = "OneOperator"
app.Math.F1.Operator1 = "Rescale"
app.Math.F1.Operator1Setup.Adder = 2.0
app

Example

Sets/Queries the multiplicative constant M in the rescale function Fx = M.Input + A

Multiplier

From -1e+018 to 1e+018 step (9 digits)

Double

Range

Description

Sets/Queries the additive constant A in the rescale function Fx = M.Input + A

Adder

From -1e+018 to 1e+018 step (9 digits)

Double

Range

Description

Enables/Disables the application of a custom unit of measurement to the rescale function trace Fx.

CustomUnit

Bool

Description

CustomUnit

Bool

Multiplier

Double

ROOF

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

Most positive or maximum values for an ensemble of sweeps, or "Roof"

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

' Configure F1 to measure the Roof of the first 1000
' sweeps of C1

Example

ClearSweeps

Action

Sweeps

Integer

4-13

916435 RevA