Attachfilestoemail, Description – Teledyne LeCroy WaveSurfer Automation Command User Manual
Page 93

Automation Command and Query Reference Manual - Control Reference
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Save the current state of the DSO into the Notebook
app.LabNotebook.ScribbleBeforeSaving = False
app.LabNotebook.PromptBeforeSaving = False
app.LabNotebook.Save
' Create a PDF report, and store it in the root of drive
C:app.LabNotebook.ReportsDirectory = "C:\"
app.LabNotebook.Format = "PDF"
app.LabNotebook.CreateReport
' Send the report in an email
app.Preferences.Email.Mode = "SMTP"
app.Preferences.Email.DefaultRecipient = "[email protected]"
app.LabNotebook.EMailRecord
Example
AttachFilesToEMail
Bool
If true, the DSO Setup, and all enabled waveforms will be attached to any emailed report.
Description
CreateReport
Action
DeleteAll
Action
DeleteRecord
Action
EMailRecord
Action
FilterRecords
Action
FlashBackToRecord
Action
Format
Enum
HardcopyArea
Enum
InternalView
Action
MyLabNotebookMD
FileName
NextRecord
Action
PreviousRecord
Action
PrintRecord
Action
PromptBeforeSaving
Bool
RecordList
Enum
ReportLogo
FileName
ReportsDirectory
FileName
Save
Action
ScribbleBeforeSaving
Bool
StartNew
Action
UseDefaultLogo
Bool
UseDefaultTemplate
Bool
UsePrintColor
Bool
ViewRecord
Action
XSLTemplate
FileName
1-86
918499 RevA