email
¶
The email commands module.
These commands are used in the following models: DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, MSO5K, MSO5KB, MSO70KC, MSO70KDX
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- EMail {TESt|RESET}
- EMail:ATTempts <NR1>
- EMail:ATTempts?
- EMail:AUTHLogin {<QString>}
- EMail:AUTHLogin?
- EMail:AUTHPassword {<QString>}
- EMail:COUNt?
- EMail:FROm {<QString>}
- EMail:FROm?
- EMail:HOSTwanted {<QString>}
- EMail:HOSTwanted?
- EMail:IMAGe {<NR1>|ON|OFF|}
- EMail:IMAGe?
- EMail:LIMit {ON|OFF|<NR1>}
- EMail:LIMit?
- EMail:MASK {ON|OFF|<NR1>}
- EMail:MASK?
- EMail:MAXSize {<NR1>}
- EMail:MAXSize?
- EMail:MEASUrement {ON|OFF|<NR1>}
- EMail:MEASUrement?
- EMail:NUMEMails {<NR1>}
- EMail:NUMEMails?
- EMail:SMTPPort {<NR1>}
- EMail:SMTPPort?
- EMail:SMTPServer <QString>
- EMail:SMTPServer?
- EMail:STATUS?
- EMail:TIMEOut <NR1>
- EMail:TIMEOut?
- EMail:TO <QString>
- EMail:TO?
- EMail:TRIGger {ON|OFF|<NR1>}
- EMail:TRIGger?
- EMail:WAVEform {ON|OFF|<NR1>}
- EMail:WAVEform?
Email
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail command.
Description
- This command (no query form) sends a test e-mail message or sets the current e-mail sent count to zero.
Usage
- Using the
.write(value)method will send theEMail valuecommand.
SCPI Syntax
- EMail {TESt|RESET}
Info
TEStargument sends a test e-mail message.RESETargument sets the e-mail sent count to zero.
Properties
.attempts: TheEMail:ATTemptscommand..authlogin: TheEMail:AUTHLogincommand..authpassword: TheEMail:AUTHPasswordcommand..count: TheEMail:COUNtcommand..from: TheEMail:FROmcommand..hostwanted: TheEMail:HOSTwantedcommand..image: TheEMail:IMAGecommand..limit: TheEMail:LIMitcommand..mask: TheEMail:MASKcommand..maxsize: TheEMail:MAXSizecommand..measurement: TheEMail:MEASUrementcommand..numemails: TheEMail:NUMEMailscommand..smtpport: TheEMail:SMTPPortcommand..smtpserver: TheEMail:SMTPServercommand..status: TheEMail:STATUScommand..timeout: TheEMail:TIMEOutcommand..to: TheEMail:TOcommand..trigger: TheEMail:TRIGgercommand..waveform: TheEMail:WAVEformcommand.
attempts
property
¶
attempts: EmailAttempts
Return the EMail:ATTempts command.
Description
- This command sets or queries the number of times that an attempt will be made to send e-mail to the SMTP e-mail server. The default is 1.
Usage
- Using the
.query()method will send theEMail:ATTempts?query. - Using the
.verify(value)method will send theEMail:ATTempts?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:ATTempts valuecommand.
SCPI Syntax
- EMail:ATTempts <NR1>
- EMail:ATTempts?
Info
<NR1>can be 1 through 20. This number is the specified number of attempts that will be made to send e-mail to the SMTP server.
authlogin
property
¶
authlogin: EmailAuthlogin
Return the EMail:AUTHLogin command.
Description
- This command sets or queries the login name that will be used if the SMTP e-mail server requires one for authentication.
Usage
- Using the
.query()method will send theEMail:AUTHLogin?query. - Using the
.verify(value)method will send theEMail:AUTHLogin?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:AUTHLogin valuecommand.
SCPI Syntax
- EMail:AUTHLogin {<QString>}
- EMail:AUTHLogin?
Info
<QString>argument is a string that specifies the login name to be used with the SMTP e-mail server.
authpassword
property
¶
authpassword: EmailAuthpassword
Return the EMail:AUTHPassword command.
Description
- This command (no query form) sets the password that will be used if the SMTP e-mail server requires one for authentication.
Usage
- Using the
.write(value)method will send theEMail:AUTHPassword valuecommand.
SCPI Syntax
- EMail:AUTHPassword {<QString>}
Info
<QString>argument is a string that specifies the password to be used with the SMTP e-mail server.
count
property
¶
count: EmailCount
Return the EMail:COUNt command.
Description
- This query only command returns the number of e-mails that have been sent since Email on Event was armed. The range of values returned can be from 0 to 50.
Usage
- Using the
.query()method will send theEMail:COUNt?query. - Using the
.verify(value)method will send theEMail:COUNt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- EMail:COUNt?
from_
property
¶
from_: EmailFrom
Return the EMail:FROm command.
Description
- This command sets or queries the From line in the e-mail. The default for the From line is the instrument model and serial number.
Usage
- Using the
.query()method will send theEMail:FROm?query. - Using the
.verify(value)method will send theEMail:FROm?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:FROm valuecommand.
SCPI Syntax
- EMail:FROm {<QString>}
- EMail:FROm?
Info
<QString>argument is a string that is placed in the From line of the e-mail. An example is ‘johnz’.
hostwanted
property
¶
hostwanted: EmailHostwanted
Return the EMail:HOSTwanted command.
Description
- This command sets or queries the host name that will be used when e-mail is sent to the SMTP e-mail server if the DPO host name will not work.
Usage
- Using the
.query()method will send theEMail:HOSTwanted?query. - Using the
.verify(value)method will send theEMail:HOSTwanted?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:HOSTwanted valuecommand.
SCPI Syntax
- EMail:HOSTwanted {<QString>}
- EMail:HOSTwanted?
Info
<QString>argument is a string that specifies the host name to be used with the SMTP e-mail server if the default DPO host name will not work.
image
property
¶
image: EmailImage
Return the EMail:IMAGe command.
Description
- This command sets or queries whether a screen image is included in e-mail. If this command is set to ON, the format and content of the screen image included is specified using the EXPort commands within the Hard Copy Command group.
Usage
- Using the
.query()method will send theEMail:IMAGe?query. - Using the
.verify(value)method will send theEMail:IMAGe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:IMAGe valuecommand.
SCPI Syntax
- EMail:IMAGe {<NR1>|ON|OFF|}
- EMail:IMAGe?
Info
<NR1>= 0 disables the inclusion of a screen image in e-mail; any other value enables the inclusion of a screen image in e-mail.ONargument enables the inclusion of a screen image in e-mail.OFFargument disables the inclusion of a screen image in e-mail.
limit
property
¶
limit: EmailLimit
Return the EMail:LIMit command.
Description
- This command sets or queries whether e-mail is sent when a limit test failure occurs.
This command is the same as the
LIMit:EMailcommand.
Usage
- Using the
.query()method will send theEMail:LIMit?query. - Using the
.verify(value)method will send theEMail:LIMit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:LIMit valuecommand.
SCPI Syntax
- EMail:LIMit {ON|OFF|<NR1>}
- EMail:LIMit?
Info
ONargument enables sending e-mail when a limit test failure occurs.OFFdisables sending e-mail when a limit test failure occurs.<NR1>= 0 disables sending e-mail when a limit test failure occurs; any other value enables sending e-mail when a limit test failure occurs.
mask
property
¶
mask: EmailMask
Return the EMail:MASK command.
Description
- This command sets or queries whether e-mail is sent when a mask test failure occurs.
Usage
- Using the
.query()method will send theEMail:MASK?query. - Using the
.verify(value)method will send theEMail:MASK?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MASK valuecommand.
SCPI Syntax
- EMail:MASK {ON|OFF|<NR1>}
- EMail:MASK?
Info
<NR1>= 0 disables sending e-mail when a mask test failure occurs; any other value enables sending e-mail when a mask test failure occurs.ONargument enables sending e-mail when a mask test failure occurs.OFFdisables sending e-mail when a mask test failure occurs.
maxsize
property
¶
maxsize: EmailMaxsize
Return the EMail:MAXSize command.
Description
- This command sets or queries the maximum size (in megabytes) of e-mail that can be sent to the SMTP server.
Usage
- Using the
.query()method will send theEMail:MAXSize?query. - Using the
.verify(value)method will send theEMail:MAXSize?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MAXSize valuecommand.
SCPI Syntax
- EMail:MAXSize {<NR1>}
- EMail:MAXSize?
Info
<NR1>can be 0 through 2000 (megabytes). This is the maximum size of each e-mail that can be sent to the SMTP server.
measurement
property
¶
measurement: EmailMeasurement
Return the EMail:MEASUrement command.
Description
- This command sets or queries whether measurement data is included as an attachment to e-mail. You must specify the saved measurement selection and the measurement format using the Email on Event setup menu. There are no remote commands for this purpose.
Usage
- Using the
.query()method will send theEMail:MEASUrement?query. - Using the
.verify(value)method will send theEMail:MEASUrement?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MEASUrement valuecommand.
SCPI Syntax
- EMail:MEASUrement {ON|OFF|<NR1>}
- EMail:MEASUrement?
Info
<NR1>= 0 disables the inclusion of measurement data in the e-mail; any other value enables including measurement data in the e-mail.ONenables the inclusion of measurement data in e-mail.OFFdisables the inclusion of measurement data in e-mail.
numemails
property
¶
numemails: EmailNumemails
Return the EMail:NUMEMails command.
Description
- This command sets or queries the number of e-mails you can send when Email on Event is armed, from 1 to 50. This limit is to restrict e-mail floods.
Usage
- Using the
.query()method will send theEMail:NUMEMails?query. - Using the
.verify(value)method will send theEMail:NUMEMails?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:NUMEMails valuecommand.
SCPI Syntax
- EMail:NUMEMails {<NR1>}
- EMail:NUMEMails?
Info
<NR1>can be 1 through 50. This is the number of e-mails you can send before the number of sent e-mails must be reset with the EMail RESet command.
smtpport
property
¶
smtpport: EmailSmtpport
Return the EMail:SMTPPort command.
Description
- This command sets or queries the SMTP port number that the e-mail server uses if other than the default of 25.
Usage
- Using the
.query()method will send theEMail:SMTPPort?query. - Using the
.verify(value)method will send theEMail:SMTPPort?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:SMTPPort valuecommand.
SCPI Syntax
- EMail:SMTPPort {<NR1>}
- EMail:SMTPPort?
Info
<NR1>can be 1 through 65535. This number specifies the TCPIP port number.
smtpserver
property
¶
smtpserver: EmailSmtpserver
Return the EMail:SMTPServer command.
Description
- This command sets or queries the address of the SMTP mail server.
Usage
- Using the
.query()method will send theEMail:SMTPServer?query. - Using the
.verify(value)method will send theEMail:SMTPServer?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:SMTPServer valuecommand.
SCPI Syntax
- EMail:SMTPServer <QString>
- EMail:SMTPServer?
Info
<QString>argument is the address of the SMTP mail server that will handle the mail service request. For example, ‘smtp.tek.com’.
status
property
¶
status: EmailStatus
Return the EMail:STATUS command.
Description
- This query only command returns the status of the last e-mail you attempted to send.
Usage
- Using the
.query()method will send theEMail:STATUS?query. - Using the
.verify(value)method will send theEMail:STATUS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- EMail:STATUS?
timeout
property
¶
timeout: EmailTimeout
Return the EMail:TIMEOut command.
Description
- This command sets or queries the global timeout in seconds. The default is 30 seconds. You use this timeout for socket connections and might need to change it from the default on some networks.
Usage
- Using the
.query()method will send theEMail:TIMEOut?query. - Using the
.verify(value)method will send theEMail:TIMEOut?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TIMEOut valuecommand.
SCPI Syntax
- EMail:TIMEOut <NR1>
- EMail:TIMEOut?
Info
<NR1>argument is the global timeout in seconds. The value for NR1 can be 0 through 500.
to
property
¶
to: EmailTo
Return the EMail:TO command.
Description
- This command sets or queries the address of the recipient(s) of an e-mail.
Usage
- Using the
.query()method will send theEMail:TO?query. - Using the
.verify(value)method will send theEMail:TO?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TO valuecommand.
SCPI Syntax
- EMail:TO <QString>
- EMail:TO?
Info
<QString>argument is the e-mail address of the recipient (or recipients). Multiple addresses are separated with semicolons (;). For example, ‘johndoe@tek.com;billsmith@tek.com’ specifies that both johndoe and billsmith at tek.com will receive e-mail when the event occurs. The length of this string is limited to 252 characters.
trigger
property
¶
trigger: EmailTrigger
Return the EMail:TRIGger command.
Description
- This command sets or queries whether e-mail is sent when a trigger occurs. The e-mail is sent after the acquisition is complete.
Usage
- Using the
.query()method will send theEMail:TRIGger?query. - Using the
.verify(value)method will send theEMail:TRIGger?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TRIGger valuecommand.
SCPI Syntax
- EMail:TRIGger {ON|OFF|<NR1>}
- EMail:TRIGger?
Info
<NR1>= 0 disables sending e-mail when a trigger occurs; any other value enables sending e-mail when a trigger occurs.ONargument enables sending e-mail when a trigger occurs.OFFdisables sending e-mail when a trigger occurs.
waveform
property
¶
waveform: EmailWaveform
Return the EMail:WAVEform command.
Description
- This command sets or queries whether waveform data is included in e-mail. The waveforms to be included, the start and stop points (and, or, frames for Fast Frame mode), and the data formats are specified by the DATA and WFMOUTPRE commands within the Waveform Transfer Command group.
Usage
- Using the
.query()method will send theEMail:WAVEform?query. - Using the
.verify(value)method will send theEMail:WAVEform?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:WAVEform valuecommand.
SCPI Syntax
- EMail:WAVEform {ON|OFF|<NR1>}
- EMail:WAVEform?
Info
<NR1>= 0 disables the inclusion of waveform data in the e-mail; any other value enables including waveform data in the e-mail.ONenables the inclusion of waveform data in e-mail.OFFdisables the inclusion of waveform data in e-mail.
EmailAttempts
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:ATTempts command.
Description
- This command sets or queries the number of times that an attempt will be made to send e-mail to the SMTP e-mail server. The default is 1.
Usage
- Using the
.query()method will send theEMail:ATTempts?query. - Using the
.verify(value)method will send theEMail:ATTempts?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:ATTempts valuecommand.
SCPI Syntax
- EMail:ATTempts <NR1>
- EMail:ATTempts?
Info
<NR1>can be 1 through 20. This number is the specified number of attempts that will be made to send e-mail to the SMTP server.
EmailAuthlogin
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:AUTHLogin command.
Description
- This command sets or queries the login name that will be used if the SMTP e-mail server requires one for authentication.
Usage
- Using the
.query()method will send theEMail:AUTHLogin?query. - Using the
.verify(value)method will send theEMail:AUTHLogin?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:AUTHLogin valuecommand.
SCPI Syntax
- EMail:AUTHLogin {<QString>}
- EMail:AUTHLogin?
Info
<QString>argument is a string that specifies the login name to be used with the SMTP e-mail server.
EmailAuthpassword
¶
Bases: SCPICmdWrite
The EMail:AUTHPassword command.
Description
- This command (no query form) sets the password that will be used if the SMTP e-mail server requires one for authentication.
Usage
- Using the
.write(value)method will send theEMail:AUTHPassword valuecommand.
SCPI Syntax
- EMail:AUTHPassword {<QString>}
Info
<QString>argument is a string that specifies the password to be used with the SMTP e-mail server.
EmailCount
¶
Bases: SCPICmdRead
The EMail:COUNt command.
Description
- This query only command returns the number of e-mails that have been sent since Email on Event was armed. The range of values returned can be from 0 to 50.
Usage
- Using the
.query()method will send theEMail:COUNt?query. - Using the
.verify(value)method will send theEMail:COUNt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- EMail:COUNt?
EmailFrom
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:FROm command.
Description
- This command sets or queries the From line in the e-mail. The default for the From line is the instrument model and serial number.
Usage
- Using the
.query()method will send theEMail:FROm?query. - Using the
.verify(value)method will send theEMail:FROm?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:FROm valuecommand.
SCPI Syntax
- EMail:FROm {<QString>}
- EMail:FROm?
Info
<QString>argument is a string that is placed in the From line of the e-mail. An example is ‘johnz’.
EmailHostwanted
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:HOSTwanted command.
Description
- This command sets or queries the host name that will be used when e-mail is sent to the SMTP e-mail server if the DPO host name will not work.
Usage
- Using the
.query()method will send theEMail:HOSTwanted?query. - Using the
.verify(value)method will send theEMail:HOSTwanted?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:HOSTwanted valuecommand.
SCPI Syntax
- EMail:HOSTwanted {<QString>}
- EMail:HOSTwanted?
Info
<QString>argument is a string that specifies the host name to be used with the SMTP e-mail server if the default DPO host name will not work.
EmailImage
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:IMAGe command.
Description
- This command sets or queries whether a screen image is included in e-mail. If this command is set to ON, the format and content of the screen image included is specified using the EXPort commands within the Hard Copy Command group.
Usage
- Using the
.query()method will send theEMail:IMAGe?query. - Using the
.verify(value)method will send theEMail:IMAGe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:IMAGe valuecommand.
SCPI Syntax
- EMail:IMAGe {<NR1>|ON|OFF|}
- EMail:IMAGe?
Info
<NR1>= 0 disables the inclusion of a screen image in e-mail; any other value enables the inclusion of a screen image in e-mail.ONargument enables the inclusion of a screen image in e-mail.OFFargument disables the inclusion of a screen image in e-mail.
EmailLimit
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:LIMit command.
Description
- This command sets or queries whether e-mail is sent when a limit test failure occurs. This
command is the same as the
LIMit:EMailcommand.
Usage
- Using the
.query()method will send theEMail:LIMit?query. - Using the
.verify(value)method will send theEMail:LIMit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:LIMit valuecommand.
SCPI Syntax
- EMail:LIMit {ON|OFF|<NR1>}
- EMail:LIMit?
Info
ONargument enables sending e-mail when a limit test failure occurs.OFFdisables sending e-mail when a limit test failure occurs.<NR1>= 0 disables sending e-mail when a limit test failure occurs; any other value enables sending e-mail when a limit test failure occurs.
EmailMask
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:MASK command.
Description
- This command sets or queries whether e-mail is sent when a mask test failure occurs.
Usage
- Using the
.query()method will send theEMail:MASK?query. - Using the
.verify(value)method will send theEMail:MASK?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MASK valuecommand.
SCPI Syntax
- EMail:MASK {ON|OFF|<NR1>}
- EMail:MASK?
Info
<NR1>= 0 disables sending e-mail when a mask test failure occurs; any other value enables sending e-mail when a mask test failure occurs.ONargument enables sending e-mail when a mask test failure occurs.OFFdisables sending e-mail when a mask test failure occurs.
EmailMaxsize
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:MAXSize command.
Description
- This command sets or queries the maximum size (in megabytes) of e-mail that can be sent to the SMTP server.
Usage
- Using the
.query()method will send theEMail:MAXSize?query. - Using the
.verify(value)method will send theEMail:MAXSize?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MAXSize valuecommand.
SCPI Syntax
- EMail:MAXSize {<NR1>}
- EMail:MAXSize?
Info
<NR1>can be 0 through 2000 (megabytes). This is the maximum size of each e-mail that can be sent to the SMTP server.
EmailMeasurement
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:MEASUrement command.
Description
- This command sets or queries whether measurement data is included as an attachment to e-mail. You must specify the saved measurement selection and the measurement format using the Email on Event setup menu. There are no remote commands for this purpose.
Usage
- Using the
.query()method will send theEMail:MEASUrement?query. - Using the
.verify(value)method will send theEMail:MEASUrement?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:MEASUrement valuecommand.
SCPI Syntax
- EMail:MEASUrement {ON|OFF|<NR1>}
- EMail:MEASUrement?
Info
<NR1>= 0 disables the inclusion of measurement data in the e-mail; any other value enables including measurement data in the e-mail.ONenables the inclusion of measurement data in e-mail.OFFdisables the inclusion of measurement data in e-mail.
EmailNumemails
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:NUMEMails command.
Description
- This command sets or queries the number of e-mails you can send when Email on Event is armed, from 1 to 50. This limit is to restrict e-mail floods.
Usage
- Using the
.query()method will send theEMail:NUMEMails?query. - Using the
.verify(value)method will send theEMail:NUMEMails?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:NUMEMails valuecommand.
SCPI Syntax
- EMail:NUMEMails {<NR1>}
- EMail:NUMEMails?
Info
<NR1>can be 1 through 50. This is the number of e-mails you can send before the number of sent e-mails must be reset with the EMail RESet command.
EmailSmtpport
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:SMTPPort command.
Description
- This command sets or queries the SMTP port number that the e-mail server uses if other than the default of 25.
Usage
- Using the
.query()method will send theEMail:SMTPPort?query. - Using the
.verify(value)method will send theEMail:SMTPPort?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:SMTPPort valuecommand.
SCPI Syntax
- EMail:SMTPPort {<NR1>}
- EMail:SMTPPort?
Info
<NR1>can be 1 through 65535. This number specifies the TCPIP port number.
EmailSmtpserver
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:SMTPServer command.
Description
- This command sets or queries the address of the SMTP mail server.
Usage
- Using the
.query()method will send theEMail:SMTPServer?query. - Using the
.verify(value)method will send theEMail:SMTPServer?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:SMTPServer valuecommand.
SCPI Syntax
- EMail:SMTPServer <QString>
- EMail:SMTPServer?
Info
<QString>argument is the address of the SMTP mail server that will handle the mail service request. For example, ‘smtp.tek.com’.
EmailStatus
¶
Bases: SCPICmdRead
The EMail:STATUS command.
Description
- This query only command returns the status of the last e-mail you attempted to send.
Usage
- Using the
.query()method will send theEMail:STATUS?query. - Using the
.verify(value)method will send theEMail:STATUS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- EMail:STATUS?
EmailTimeout
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:TIMEOut command.
Description
- This command sets or queries the global timeout in seconds. The default is 30 seconds. You use this timeout for socket connections and might need to change it from the default on some networks.
Usage
- Using the
.query()method will send theEMail:TIMEOut?query. - Using the
.verify(value)method will send theEMail:TIMEOut?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TIMEOut valuecommand.
SCPI Syntax
- EMail:TIMEOut <NR1>
- EMail:TIMEOut?
Info
<NR1>argument is the global timeout in seconds. The value for NR1 can be 0 through 500.
EmailTo
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:TO command.
Description
- This command sets or queries the address of the recipient(s) of an e-mail.
Usage
- Using the
.query()method will send theEMail:TO?query. - Using the
.verify(value)method will send theEMail:TO?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TO valuecommand.
SCPI Syntax
- EMail:TO <QString>
- EMail:TO?
Info
<QString>argument is the e-mail address of the recipient (or recipients). Multiple addresses are separated with semicolons (;). For example, ‘johndoe@tek.com;billsmith@tek.com’ specifies that both johndoe and billsmith at tek.com will receive e-mail when the event occurs. The length of this string is limited to 252 characters.
EmailTrigger
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:TRIGger command.
Description
- This command sets or queries whether e-mail is sent when a trigger occurs. The e-mail is sent after the acquisition is complete.
Usage
- Using the
.query()method will send theEMail:TRIGger?query. - Using the
.verify(value)method will send theEMail:TRIGger?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:TRIGger valuecommand.
SCPI Syntax
- EMail:TRIGger {ON|OFF|<NR1>}
- EMail:TRIGger?
Info
<NR1>= 0 disables sending e-mail when a trigger occurs; any other value enables sending e-mail when a trigger occurs.ONargument enables sending e-mail when a trigger occurs.OFFdisables sending e-mail when a trigger occurs.
EmailWaveform
¶
Bases: SCPICmdWrite, SCPICmdRead
The EMail:WAVEform command.
Description
- This command sets or queries whether waveform data is included in e-mail. The waveforms to be included, the start and stop points (and, or, frames for Fast Frame mode), and the data formats are specified by the DATA and WFMOUTPRE commands within the Waveform Transfer Command group.
Usage
- Using the
.query()method will send theEMail:WAVEform?query. - Using the
.verify(value)method will send theEMail:WAVEform?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theEMail:WAVEform valuecommand.
SCPI Syntax
- EMail:WAVEform {ON|OFF|<NR1>}
- EMail:WAVEform?
Info
<NR1>= 0 disables the inclusion of waveform data in the e-mail; any other value enables including waveform data in the e-mail.ONenables the inclusion of waveform data in e-mail.OFFdisables the inclusion of waveform data in e-mail.