beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 33

background image

Automation Command and Query Reference Manual - Control Reference

HorUnits

String

Any number of characters

Range

Queries the units in which the horizontal scale is measured.

Description

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

' Obtain the units of the horizontal scale.
HorizUnit = app.Acquisition.Horizontal.HorUnits

Example

MaxSamples

DoubleLockstep

From 500 to 5e+007 step 1000, locked to 1 2.5 5, fine grain allowed=false, on=false

Range

Sets/Queries the maximum permissible number of samples to be used in the acquisition memories.
At the faster sample rates, the actual number used may be less than this maximum.

Description

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

' Set the available memory length per channel to 500
app.Acquisition.Horizontal.MaxSamples = 500

Example

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

1-25

918500 RevA