Waveform – Teledyne LeCroy WavePro Automation Command User Manual

Page 218

Advertising
background image

Automation Command and Query Reference Manual - Control Reference

Creates the directory specified in the Directory control.

Description

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

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

Example

DeleteAll

Action

Deletes all files in the directory specified by the Directory control without a cautionary prompt.
Use with care! Files cannot be recovered if deleted accidentally.

Description

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

' Delete all files without showing a yes/no prompt.
app.SaveRecall.Utilities.Directory = "C:\MyDir"
app.SaveRecall.Utilities.DeleteAll

Example

DeleteFile

Action

Deletes the file named by the Filename control

Description

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

' Delete the named file
app.SaveRecall.Utilities.Filename = "C:\MyDir\MyFile.txt"
app.SaveRecall.Utilities.DeleteFile

Example

Directory

FileName

Any number of characters

Range

Defines the directory which will be used for the operations in this automation node.

Description

WAVEFORM

app.SaveRecall.Waveform

Contains controls used for saving and recalling waveforms.

Delimiter

Enum

DoRecall

Action

DoSave

Action

RecallDestination

Enum

RecallFrom

Enum

RecallSource

Enum

SaveDestination

Enum

1-204

918501 RevA

Advertising
This manual is related to the following products: