Programming Manual MSO/UPO2000 Series
91 / 156
Instruments.uni-trend.com
:SBUS:SPI:MOSI:POLarity?
Query returns POSitive.
:SBUS:SPI:WIDTh
Command format
:
:SBUS:SPI:WIDTh <width>
:SBUS:SPI:WIDTh?
Functional description
:
This command is used to set SPI bus data bit width of the osciolloscope.
<width> is integer data and the range is 4~32.
Return format
:
Query returns SPI bus data bit width.
For example
:
:SBUS:SPI:WIDTh 4
Set SPI bus data bit width to 4.
:SBUS:SPI:WIDTh?
Query returns 4.
:SBUS:SPI:FRAMelen
Command format
:
:SBUS:SPI:
FRAMelen
<len>
:SBUS:SPI:
FRAMelen
?
Functional description
:
This command is used to set SPI bus data frame length of the osciolloscope.
<len> is integer data and the range is 1~32, data width*data frame length cannot exceed 128 bits data.
Return format
:
Query returns SPI bus data frame length, it is integer type.
For example
:
:SBUS:SPI:
FRAMelen
1
Set SPI bus data frame length to 1.
:SBUS:SPI:
FRAMelen
?
Query returns 1.
:SBUS:SPI:DATA
Command format
:
:SBUS:SPI:DATA <value>
:SBUS:SPI:DATA?
Functional description
:
This command is used to set SPI bus data of the oscilloscope. Binary character string data presented by
parameter is 0, 1 or X. X represents unsure. Data bit is related to the product of the instruction setting
value of :SBUS:SPI:WIDTh and :SBUS:SPI:FRAMelen and its range is
0x0~0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.
Return format
:
Query returns binary character string data.
For example
: