beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 82

background image

Chapter Three

Control Reference

Sets / Queries the horizontal position of the label attached to the acquisition trace Cx. 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 C1, one at 0ns, and one at 55ns
app.SetToDefaultSetup
app.Acquisition.C1.ViewLabels = True
app.Acquisition.C1.LabelsPosition = "0.0,55e-9"
app.Acquisition.C1.LabelsText = "Hello,World"

Range

Example

Description

Sets/Queries whether the user-defined labels for the trace are visible.
See Also: LabelsPosition and LabelsText controls.

ViewLabels

Bool

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

' Show the user-defined label for trace C2.
app.Acquisition.C2.ViewLabels = True

Example

Description

Starts FindScale operation for this chanel. This operation will adjust channel's v/div and offset control
such that the signal is visible on the screen with in +/- 3 div.

FindScale

Action

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

'Find vertical scale of channel 1
app.Acquisition.C1.FindScale

Example

Description

916435 RevA

3-15