Attachfilestoemail, Description backupdatabase, Description – Teledyne LeCroy WaveRunner Automation Command User Manual
Page 111
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
BackupDatabase
Action
Backup the current LabNotebook database. Note that this control will present a modal dialog,
prompting for the backup filename and folder.
Use the BackupToFolder control to skip the dialog.
Description
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-103
918500 RevA