beautypg.com

Email – Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 144

background image

Automation Command and Query Reference Manual - Control Reference

EMAIL

app.Preferences.EMail

This set of variables controls user preferences for the instrument e-mail system.
E-Mail may be sent when the hardcopy button is pressed when the hardcopy system is appropriately configured. Two
standards are supported, SMTP (Simple Mail Transport Protocol), and MAPI (Messaging Application Programming
Interface).

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

' Configure the originator and recipient addresses, replace these with
' appropriate values for your corporate network.
app.Preferences.Email.DefaultRecipient = "recipientAddress@do

Example

DefaultRecipient

String

Any number of characters

Range

Sets/Queries the default recipient of e-mail transmissions.

Description

Mode

Enum

Sets/Queries the transmission mode for e-mail.

Description

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

' Set e-Mail mode to MAPI.
app.Preferences.EMail.Mode = "MAPI"

Example

Values

MAPI

Messaging Application Programming Interface (Uses Outlook Express by default)

SMTP

Simple Mail Transfer Protocol, requires an SMTP server

OriginatorAddress

String

Any number of characters

Range

Sets/Queries the originator address for e-mail. This may be any address, and will be used when the
recipient replies to a mail, note that the instrument doesn't necessarily have to have it's own E-Mail
account in order to use this.

Description

DefaultRecipient

String

Mode

Enum

OriginatorAddress

String

SendTestMail

Action

SMTPServer

String

1-137

918499 RevA