Instructions
RIGOL Chapter 2 Command System
2-50 DS1000Z-E Programming Guide
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*/
:DECoder<n>:PARallel:BITX
Syntax :DECoder<n>:PARallel:BITX <bit>
:DECoder<n>:PARallel:BITX?
Description Set or query the data bit that requires a channel source on the parallel bus.
Parameter
Name
Type
Range
Default
<n> Discrete {1|2} --
<bit> Integer 0 to (data width - 1) 0
Explanation Set the data width using the :DECoder<n>:PARallel:WIDTh command.
After selecting the desired bit, send the
:DECoder<n>:PARallel:SOURce command to
set the channel source of this bit.
Return
Format
The query returns the current data bit in integer.
Example
:DECoder1:PARallel:BITX 2 /*Set the current bit to 2*/
:DECoder1:PARallel:BITX? /*The query returns 2*/
:DECoder<n>:PARallel:SOURce
Syntax :DECoder<n>:PARallel:SOURce <src>
:DECoder<n>:PARallel:SOURce?
Description Set ro query the channel source of the data bit currently selected.










