RIGOL 2 Command System
2-20 DS2000E Programming Guide
Explanation
POSitive: rising edge
NEGative: falling edge
BOTH: rising/falling edge
When no clock channel is set (refer to the
:BUS<n>:PARallel:CLK command), the oscilloscope
samples data once the channel data jumps and the edge set by this command will be ignored.
Return Format
The query returns POS, NEG, or BOTH
.
:BUS<n>:PARallel:BSET
Syntax
:BUS<n>:PARallel:BSET <b0>,<b1>
:BUS<n>:PARallel:BSET?
Description
Set the data width of parallel decoding on the specified bus and the channel source for each bit; or query
the channel source of each bit.
Parameter
Name Type Range Default
<n> Discrete {1|2} --
<b0> Discrete {CHANnel1|CHANnel2} CHANnel1
<b1> Discrete {CHANnel1|CHANnel2} CHANnel2
Explanation
This command sets the bus data width and the setting sequence of the bits is LSB. For example, when the
parameter is set to CHAN2,CHAN1, the bus data width is set to 2, bit 0 is CHAN2 and bit 1 is CHAN1.
Return Format
The query returns the channel source of each bit in the current data channel. The number of the channel
sources is determined by the current data width and multiple channels are separated by commas.
Example
:BUS1:PARallel:BSET CHANnel1,CHANnel2
/*Set the data width to 2 and the channel sources of the bits are CH1 and
CH2 respectively*/
:BUS1:PARallel:BSET? /*The query returns CHAN1,CHAN2*/