beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 135

background image

Automation Command and Query Reference Manual - Control Reference

LabelsPosition

String

Any number of characters

Range

Sets / Queries the horizontal position of the label attached to the trace Fx. The unit of measurement
is the unit of the horizontal scale. The measurement is made from the trigger point.
Note that this control is a string, not a numeric value. This allows multiple labels to be positioned, as
shown in the example below.

Description

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

' Add a couple of labels to trace F1, one at 0ns, and one at 55ns
app.SetToDefaultSetup
app.Math.F1.View = True
app.Math.F1.ViewLabels = True
app.Math.F1.LabelsPosition = "0.0, 55e-9"
app.Math.F1.LabelsText = "Hello,World"

Example

LabelsText

String

Any number of characters

Range

Sets / Queries the text that appears in labels attached to acquisition trace Cx. Multiple labels may be
specified by using comma as a delimiter. See the documentation on LabelsPosition for an example of
use.

Description

MathMode

Enum

Sets/Queries the math mode.

Description

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

' Set the mode of the math function F1
app.Math.F1.MathMode = "TwoOperators"

Example

Values

Graphing

Graphing mode, chain a measurement and a graphing operator

OneOperator

Single math operator

TwoOperators

Chain two math operators

WebEdit

1-127

918500 RevA