beautypg.com

Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 220

background image

Automation Command and Query Reference Manual - Processor Reference

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

' Set parameter P1 to phase difference.
app.Measure.P1.ParamEngine = "Phase"
' Set the output unit as radians.
app.Measure.P1.Operator.OutputType = "Radians"

Example

Values

Degrees

DEGREES360

Percent

Radians

RADIANSTWOPI

RefFindLevel

Action

Find the test level for the reference trace.

Description

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

' Set parameter P3 to phase difference.
app.Measure.P3.ParamEngine = "Phase"
' Find the test level for the reference trace.
app.Measure.P3.Operator.RefFindLevel

Example

RefHysteresis

Double

From 0 to 10 step 0.1

Range

Sets/Queries the hysteresis range for the reference trace.

Description

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

' Set parameter P1 to phase difference.
app.Measure.P1.ParamEngine = "Phase"
' Set the reference hysteresis in graticule divisions.
app.Measure.P1.Operator.RefHysteresis = 0.7

Example

2-11

918499 RevA