beautypg.com

Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 30

background image

Automation Command and Query Reference Manual - Control Reference

NumPoints

Integer

From 2 to 100000000 step 1

Range

Queries the number of samples in the current setting of the acquisition memory. For sequence mode,
this refers to the number if samples per segment, not to the number in the complete set.
Use MaxSamples to limit the number of samples acquired.

Description

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

' Obtain the number of points being used in the acquisition memory.
NumberOfPoints = app.Acquisition.Horizontal.NumPoints
MsgBox NumberOfPoints

Example

NumSegments

Integer

From 2 to 500 step 1

Range

Sets/Queries the number of segments in the sequence mode of acquisition. Only valid when
SampleMode = "Sequence'

Description

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

' Enable sequence mode and capture 500 segments
app.Acquisition.Horizontal.SampleMode = "Sequence"
app.Acquisition.Horizontal.NumSegments = 500

Example

ReferenceClock

Enum

Sets/Queries the source of the acquisition reference clock.

Description

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

' Set the source of the reference clock to External.
app.Acquisition.Horizontal.ReferenceClock = "EXT"

Example

Values

EXT

External reference (use rear-panel BNC)

INT

Internal reference clock

1-23

918499 RevA