beautypg.com

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

Page 171: App.saverecall.waveform

background image

Chapter Three

Control Reference

Creates the directory specified in the Directory control.

CreateDir

Action

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

' Create a named directory
app.SaveRecall.Utilities.Directory = "C:\MyDir"
app.SaveRecall.Utilities.CreateDir

Example

Description

WAVEFORM

app.SaveRecall.Waveform

Contains controls used for saving and recalling waveforms.

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

' Save C1 into M1
app.SaveRecall.Waveform.SaveTo = "Memory"
app.SaveRecall.Waveform.SaveSource = "C1"
app.SaveRecall.Waveform.SaveDestination = "M1"
app.SaveRecall.Waveform.DoSave

Example

Sets/Queries type of destination for waveform save.

SaveTo

Enum

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

' Set the destination to Memory for waveform save.
app.SaveRecall.Waveform.SaveTo = "Memory"

Example

Description

Values

File

Save into file on a mass-storage device

Delimiter

Enum

DoRecall

Action

DoSave

Action

RecallDestination

Enum

RecallFrom

Enum

RecallSource

Enum

SaveDestination

Enum

SaveSource

Enum

SaveTo

Enum

TraceTitle

String

WaveFormat

Enum

WaveformDir

FileName

3-104

916435 RevA