beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 31

background image

Automation Command and Query Reference Manual - Control Reference

AcquiredSegments

Integer

From 0 to 100000 step 1

Range

AcquisitionDuration

Double

From 1e-012 to 1e+012 step 1e-015

Range

Queries the duration of the last completed acquisition. The result may depend on the spacing of the
triggers in sequence mode, and it may depend on the number of averages when a channel is
in averaging mode.

Description

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

' Obtain the duration of the last completed acquistion.
AcqDuration = app.Acquisition.Horizontal.AcquisitionDuration
MsgBox AcqDuration

Example

ActiveChannels

Enum

Sets/Queries the number of active DSO input channels.
Note that this is a string value, the allowed values are "4", "2" and "Auto", and 0, 1, and 2. Beware of
using 2 as a numerical value for 2 channels: you will get Auto mode instead.

Description

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

' Set the instrument to use two channels.
app.Acquisition.Horizontal.ActiveChannels = "2"

Example

Values

2

Use all channels

4

Auto

Maximize sample rate based upon the # displayed channels

ExtClockFrequency

Double

From 0.001 to 100000 step 0.001

Range

SmartMemory

Enum

Source

Enum

TimePerPoint

Double

UseLegacyDefault

Enum

1-23

918500 RevA