beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 126

background image

Chapter Three

Control Reference

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.

LabelsText

Any number of characters

String

Range

Description

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.

LabelsPosition

Any number of characters

String

' 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"

Range

Example

Description

Sets/Queries whether trace labels, defined with LabelsText and LabelsPosition controls, are shown.

ViewLabels

Bool

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

' Show the user-defined trace label for trace F1
app.Math.F1.ViewLabels = True

Example

Description

916435 RevA

3-59