beautypg.com

Chapter four, Control reference – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 209

background image

Chapter Four

Control Reference

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

' Configure F3 to perform an FFT of C1
app.Math.F3.View = True
app.Math.F3.Source1 = "C1"
app.Math.F3.MathMode = "OneOperator"
app.Math.F3.Operator1 = "FFT"
app.Math.F3.Operator1Se

Example

Sets/Queries the type of FFT spectrum for function trace Fx.

Type

Enum

Description

Values

Magnitude

Magnitude with linear vertical scale

Phase

Phase

PowerSpectrum

Power Spectrum

Sets/Queries the type of window for the FFT function trace Fx.

Window

Enum

Description

Values

BlackmanHarris

FlatTop

Hamming

Rectangular

VonHann

Algorithm

Enum

FillType

Enum

SuppressDC

Bool

Type

Enum

Window

Enum

4-5

916435 RevA