MDO3000 Programmer Manual.pdf - 第313页

Commands Listed in Alphabetical Order Group Status and Erro r Syntax DESE <N R1> DESE? Related Commands *CLS , *ESE , *ES R? , EVENT? , EVMsg? , *SRE , *STB? Arguments <NR1> se ts the binary bits of the DESER…

100%1 / 1158
Commands Listed in Alphabetical Order
Arguments
<QString> is a d
ate in the form "yyyy-mm-dd" where yyyy refers to a four-digit
year number, mm refers to a two-digit month number from 01 to 12, and dd refers
to a two-digit day number in the month.
Examples
DATE "2006-01-24" specifies that the date is set to January 24, 2006.
DATE? might return :DATE 2006-01-24 indicating the current date is set to
January 24, 2014.
*DDT
Allows you to specify a command or a list of commands that execute when the
oscilloscope receives a *TRG command or the GET IEEE488.2 interface message.
Define Device Trigger (*DDT) is a special alias that the *TRG command uses.
Group
Miscellaneous
Syntax
*DDT {< Block>|<QString>}
*DDT?
Related Commands
*TRG
Arguments
<Block> is a complete sequence of program messages. The messages can contain
only valid commands that must be separated by semicolons and must follow all
rules for concatenating commands. The sequence must be less than or equal to80
characters. The format of this argument is always returned as a query.
<QString> is a complete sequence of program messages. The messages can
contain only valid commands that must be separated by semicolons and must
follow all rules for concatenating commands. The sequence must be less thanor
equal to 80 characters.
Examples
*DDT #OACQUIRE:STATE RU N specifies that the acquisition system will be
started each time a *TRG command is sent.
DESE
This command specifies the bits in the Device Event Status Enable Register
(DESER). The DESER is the mask that determines whether events are reported to
the Standard Event Status Register (SESR), and entered into the Event Queue. For
a detailed discussion of the use of these registers, see Registers. (See page 3-1,
Registers.)
2-282 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Group
Status and Erro
r
Syntax
DESE <N R1>
DESE?
Related Commands
*CLS, *ESE, *ES
R?, EVENT?, EVMsg?, *SRE, *STB?
Arguments
<NR1> sets the binary bits of the DESER according to this value, which ranges
from 1 through 255. For example, DESE
209 sets the DESER to the binary value
11010001 (that is, the most significant bit in the register is set to 1, the next most
significant bit to 1, the next bit to 0, etc.).
The power-on default for DESER is all bits set if *PSC is 1. If *PSC is 0, the
DESER maintains the previous power cycle value through the current power cycle.
NOTE. Setting the DESER and ESER to the same value 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 *ESE commandtosettheESER.
Examples
DESE 209 sets the DESER to binary 11010001, which enables the PON, URQ,
EXE and OPC bits.
DESE? might return:DESE 186, showing that the DESER contains the binary
value 10111010.
DESkew (No Query Form)
Causes the deskew values for all channels to be set to the recommended values.
Equivalent to pressing the "Set all deskews to recommended values" button in
the application UI.
NOTE. The actual deskew values for each channel can be set or queried using the
CH<x>:DESKew command.
Group
Vertical
Syntax
DESkew {SETALLtorec}
Arguments
<SETALLtorec> sets the deskew for all channels to the recommended values.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-283
Commands Listed in Alphabetical Order
DESkew:DISPl
ay
This command specifies the state of the deskew table display.
Group
Vertical
Syntax
DESkew:DISPlay {OFF|ON|0|1}
DESkew:DISPlay?
Arguments
OFF or 0 turns off the deskew table display.
ON or 1 turns on the deskew table display.
DIAg:LOOP:OPTion
Sets the self-test loop option.
Group
Calibration and Diagnostic
Syntax
DIAg:LOOP:OPTion {ALWAYS|FAIL|ONFAIL|ONCE|NTIMES}
Arguments
ALWAYS continues looping until the self tests (diagnostics) are stopped via the
front panel or by an oscilloscope command.
FAIL causes looping until the first self test (diagnostic) failure or until self tests
(diagnostics) are stopped.
ONFAIL causes looping on a specific test group as long as a FAIL status is
returned from the test.
ONCE executes self test (diagnostics test) sequence once.
NTIMES runs “n” number of loops.
Examples
DIAG:LOOP:OPTION ONCE runs one loop of self tests.
DIAg:LOOP:OPTion:NTIMes
Sets the self-test loop option to run N times.
Group
Calibration and Diagnostic
2-284 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual