Waveform – Teledyne LeCroy WaveSurfer Automation Command User Manual
Page 151

Automation Command and Query Reference Manual - Control Reference
app.SaveRecall.Utilities.CreateDir
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.
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
Example
Delimiter
Enum
DoRecall
Action
DoSave
Action
RecallDestination
Enum
RecallFrom
Enum
RecallSource
Enum
SaveDestination
Enum
SaveSource
Enum
SaveTo
Enum
TraceTitle
String
WaveFormat
Enum
WaveformDir
FileName
1-144
918499 RevA