![Rigol DS4000E Series Programming Manual Download Page 46](http://html1.mh-extra.com/html/rigol/ds4000e-series/ds4000e-series_programming-manual_1460996046.webp)
RIGOL
2-34
DS4000E Programming Guide
:BUS<n>:SPI:MOSI:THReshold
Syntax
:BUS<n>:SPI:MOSI:THReshold <thre>
:BUS<n>:SPI:MOSI:THReshold?
Description
Sets or queries the threshold of the source channel of MOSI data line of SPI decoding on the specified bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<thre>
Real
(-4 x VerticalScale - Offset) to (4 x VerticalScale - Offset)
Wherein, VerticalScale is the vertical scale of the MOSI data
line source channel, refer to the :CHANnel<n>:SCALe
command; Offset is the vertical position of the MOSI data line
source channel, refer to the :CHANnel<n>:OFFSet command.
0
Return Format
The query returns the threshold level in scientific notation.
:BUS<n>:SPI:OFFSet
Syntax
:BUS<n>:SPI:OFFSet <val>
:BUS<n>:SPI:OFFSet?
Description
Sets or queries the vertical position of MISO and/or MOSI data line of SPI decoding on the specified bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2}
--
<val>
Integer
Refer to Remarks
0
Remarks
Before using the command, enable the display of the specified decoding bus (refer to
the :BUS<n>:DISPlay command).
The range of <val> is related to the screen display mode and the on/off status of the statistic function
(refer to the :MEASure:STATistic:DISPlay command).
When the display mode is "Full Screen" and the statistics function is disabled, the <val> parameter
ranges from -166 to +148.
When the display mode is "Full Screen" and the statistics function is enabled, the <val> parameter
ranges from -163 to +143.
When the display mode is "Split" (refer to the :TIMebase:DELay:ENABle and :CALCulate:FFT:SPLit
command), the <val> parameter ranges from -103 to +52.
When the data line that displays the decoding is located in the middle part of the screen, <val> is 0;
when it is located above the middle part of the screen, <val> is a positive value; when it is located
below the middle part of the screen, <val> is a negative value.
Return Format
The query returns an integer.