User manual
Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-57
:DECoder<n>:PARallel:EDGE
Syntax :DECoder<n>:PARallel:EDGE <edge>
:DECoder<n>:PARallel:EDGE?
Description Set or query the edge type of the clock channel when the instrument samples the data
channel in parallel decoding.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<edge> Discrete {RISE|FALL|BOTH} RISE
Explanation If no clock channel is selected (:DECoder<n>:PARallel:CLK), the instrument will sample
when the channel data jumps.
Return
Format
The query returns RISE, FALL, or BOTH.
Example
:DECoder1:PARallel:EDGE BOTH /*Set the oscilloscope to sample data on any edge
of the clock channel in parallel decoding*/
:DECoder1:PARallel:EDGE? /*The query returns BOTH*/
:DECoder<n>:PARallel:WIDTh
Syntax :DECoder<n>:PARallel:WIDTh <wid>
:DECoder<n>:PARallel:WIDTh?
Description Set or query the data width (namely the number of bits of each frame of data) of the
parallel bus.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<wid> integer 1 to 16 8
Explanation After setting the data width using this command, send the :DECoder<n>:PARallel:BITX
and
:DECoder<n>:PARallel:SOURce commands to select each bit and set the channel
source for each bit respectively.
Return
Format
The query returns an integer between 1 and 16.
Example
:DECoder1:PARallel:WIDTh 16 /*Set the data width in parallel decoding to 16*/
:DECoder1:PARallel:WIDTh? /*The query returns 16*/