User manual

RIGOL Chapter 2 Command System
2-58 MSO1000Z/DS1000Z Programming Guide
: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.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<src> Discrete
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4}
Related to
the bit
selected
Explanation Before sending this command, use the :DECoder<n>:PARallel:BITX command to select
the desired data bit.
Return
Format
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.
Example
:DECoder1:PARallel:SOURce CHANnel2 /*Set the channel source of the current bit to
CH2*/
:DECoder1:PARallel:SOURce? /*The query returns CHAN2*/
Related
Command
:DECoder<n>:PARallel:WIDTh