User manual
Chapter 2 Command System RIGOL
MSO5000 Programming Guide 2-7
:BUS<n> Commands
The : BUS<n> commands are used to execute the decoding-related settings and operations.
Command List:
:BUS<n>:MODE
:BUS<n>:DISPlay
:BUS<n>:FORMat
:BUS<n>:EVENt
:BUS<n>:EVENt:FORMat
:BUS<n>:EVENt:VIEW
:BUS<n>:LABel
:BUS<n>:DATA?
:BUS<n>:EEXPort
:BUS<n>:POSition
:BUS<n>:THReshold
:BUS<n>:PARallel
:BUS<n>:RS232 (Option)
:BUS<n>:IIC (Option)
:BUS<n>:SPI (Option)
:BUS<n>:CAN (Option)
:BUS<n>:FLEXray (Option)
:BUS<n>:LIN (Option)
:BUS<n>:IIS (Option)
:BUS<n>:M1553 (Option)
:BUS<n>:MODE
Syntax
:BUS<n>:MODE <mode>
:BUS<n>:MODE?
Description
Sets or queries the decoding type of the specified decoding bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<mode>
Discrete
{PARallel|RS232|SPI|IIC|IIS|LIN|CAN|
FLEXray|M1553}
PARallel
Remarks
Except PARallel, all the other decodings are options. Only when the specified option is
installed, can the command is available.
Return
Format
The query returns PAR, RS232, SPI, IIC, IIS, LIN, CAN, FLEX, or M1553.
Example
:BUS1:MODE SPI /*Sets the type of the decoding bus to SPI.*/
:BUS1:MODE? /*The query returns SPI.*/