MDO3000 Programmer Manual.pdf - 第335页
Commands Listed in Alphabetical Order EMAIL:SETUp: FROMADDRess Sets (or queries) the sender ’ s email address for the common server setup information that is s hared between the Act on Event commands and the Hardco py Em…

Commands Listed in Alphabetical Order
Syntax
*ESE <N R1>
*ESE?
Related Commands
*CLS, DESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB?
Arguments
<NR1> speci
fies the binary bits of the ESER according to this value, which ranges
from 0 through 255.
The power-
on default for the ESER is 0 if *PSC is 1. If *PSC is 0, the ESER
maintains the previous power cycle value through the current power cycle.
NOTE. Setting the DESER and the ESER to the same values allows only those
codes to be entered into the Event Queue and summarized on the ESB bit (bit 5) of
the Status Byte Register. Use the DESE command to set the DESER.
Exampl
es
*ESE 209 sets the ESER to binary 11010001, which enables the PON, URQ,
EXE, and OPC bits.
*ESE? might return 186, showing that the ESER contains the binary value
10111010.
*ESR? (Query Only)
Ret
urns the contents of the Standard Event Status Register (SESR). *ESR? also
clears the SESR (reading the SESR clears it). For a detailed discussion on how to
use registers, see Registers. (See page 3-1, Registers.)
Group
Status and Error
S
yntax
*ESR?
Related Commands
ALLEv?, *CLS, DESE, *ESE, EVENT?, EVMsg?, *SRE, *STB?
Examples
*ESR? might return 213, showing that the SESR contains the binary value
11010101.
2-304 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
EMAIL:SETUp:
FROMADDRess
Sets (or queries) the sender’s email address for the common server setup
information that is shared between the Act on Event commands and the Hardcopy
Email comman
ds.
Note: to set the email recipient address for Act on Event commands, use
ACTONEVent
:ACTION:EMAIL:SETUp:TOADDRess.
Group
Email
Syntax
EMAIL:SETUp:FROMADDRess <QString>
EMAIL:SETUp:FROMADDRess?
Arguments
Quoted string that represents the sender’s email address. The maximum number
of characters allowed is 128.
Examples
EMAIL:SETUP:FROMADDRESS “george.wilcox@tektronix.com” sets the
sender’s email address to george.wilcox@tektronix.com.
EMAIL:SETUp:HOSTALIASNAMe
Sets (or queries) the email host alias name for the common server setup
information that is shared between the Act on Event commands and the Hardcopy
Email commands. If this is an empty string, the DNS name of the instrument is
used. This string is included in the email message.
Group
Email
Syntax
EMAIL:SETUp:HOSTALIASNAMe <QString>
EMAIL:SETUp:HOSTALIASNAMe?
Arguments
Quoted string that represents the email host alias name. The maximum number
of characters allowed is 128.
Examples
EMAIL:SETUP:HOSTALIASNAME “pop2.mail.com” sets the email host alias
name to pop2.mail.com.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-305

Commands Listed in Alphabetical Order
EMAIL:SETUp:
SMTPLOGIn
Sets or returns the email SMTP server login ID for the common server setup
information that is shared between the Act on Event commands and the Hardcopy
Email comman
ds.
Group
Email
Syntax
EMAIL:SETUp:SMTPLOGIn <QString>
EMAIL:SETUp:SMTPLOGIn?
Arguments
Quoted string that represents the email SMTP server login ID. The maximum
number of characters allowed is 128.
Examples
EMAIL:SETUP:SMTPLOGIN “johnnysmith” sets the email SMTP server login
ID to johnnysmith.
EMAIL:SETUp:SMTPPASSWord (No Q uery Form)
Sets the email SMTP server login password for the common server setup
information that is shared between the Act on Event commands and the Hardcopy
Email commands. For security reasons, no query form is provided.
Group
Email
Syntax
EM
AIL:SETUp:SMTPPASSWord <QString>
Arguments
Quoted string that represents the email SMTP server login password. The
maximum number of characters allowed is 128.
Examples
EMAIL:SETUP:SMTPPASSWORD “foo7acme” sets the email SMTP server login
ID to foo7acme.
EMAIL:SETUp:SMTPPort
Sets or returns the email SMTP server port number for the common server setup
info
rmation that is shared between the Act on Event commands and the Hardcopy
Email commands. The default port number is 25.
2-306 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual