beautypg.com

Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 31

background image

Automation Command and Query Reference Manual - Control Reference

SampleClock

Enum

Sets/Queries the source for the sample clock.

Description

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

' Set the sample clock to expect an external source.
app.Acquisition.Horizontal.SampleClock = "External"

Example

Values

INT

SampleMode

Enum

Sets/Queries the mode of acquisition as real-time or sequence or random interleaved sampling. Note
that RIS mode and sequence mode are not available over the entire range of time-bases, and are not
available simultaneously.
WaveExpert differences: CIS and SEQ are the only timebase modes.

Description

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

' Set the mode of acquisition to random interleaved sampling.
app.Acquisition.Horizontal.SampleMode = "RIS"
' WaveExpert example
app.Acquisition.Horizontal.SampleMode = "CIS"

Example

Values

RealTime

WStream

SamplingRate

Double

From 500 to 5e+009 step (2 digits)

Range

Queries the sampling rate. This is the effective sampling rate of the traces, rather than the sample
rate of the ADCs.

Description

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

' Inspect the effective sampling rate of the signal.
SamplingRate = app.Acquisition.Horizontal.SamplingRate

Example

1-24

918499 RevA