MDO3000 Programmer Manual.pdf - 第334页
Commands Listed in A lphabetical 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 va…

Commands Listed in Alphabetical Order
Arguments
<NR3> isafloati
ng point number that specifies the position of the digital channel,
in slot units. Use the oscilloscope front-panel controls to place the channel; then
query the channel to obtain an exact value for the position.
D<x>:THResh
old
This command specifies the logical threshold for the digital channel <x>, where x
is the digital channel number D0 – D15.
NOTE. MDO3
000 models only have two digital threshold controls: one for digital
channels D0 - D7, and the other for D8 - D15. Changing one digital channel’s
threshold l evel changes all of the channels’ levels in the same set.
Conditions
Requires an MSO or MDO4000/B/C model, or MDO3000 with option
MDO3MSO installed.
Group
Vertical
Syntax
D<x>:THReshold {ECL|TTL|<NR3>}
D<x>:THReshold?
Arguments
ECL sets the digital threshold for channel <x> to a preset ECL high level of -1.3V.
TTL sets the digital threshold for channel <x> to a preset TTL high level of 1.4V.
<NR3> is a floating point number that specifies the digital threshold for channel
<x>, in volts.
Examples
D5:THRESHOLD ECL sets the threshold for D5 digital channel to ECL levels.
D14:threshold? might return :D14:THRESHOLD 1.2500 indicating that the
threshold level for the D14 digital channel is 1.25 volts.
*ESE
Sets and queries the bits in the Event Status Enable Register (ESER). The
ESER prevents events from being reported to the Status Byte Register (STB).
For a detailed discussion on how to use registers, see Registers. (See page 3-1,
Registers.)
Group
Status and Error
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-303

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