User manual

RIGOL Chapter 2 Command System
2-8 MSO7000/DS7000 Programming Guide
:BUS<n>:DISPlay
Syntax
:BUS<n>:DISPlay <bool>
:BUS<n>:DISPlay?
Description
Enables or disables the specified decoding bus; or queries the on/off display status of
the specified decoding bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Return
Format
The query returns 1 or 0.
Example
:BUS1:DISPlay ON /*Enables the decoding bus.*/
:BUS1:DISPlay? /*The query returns 1.*/
:BUS<n>:FORMat
Syntax
:BUS<n>:FORMat <fmt>
:BUS<n>:FORMat?
Description
Sets or queries the display format of decoding data of the specified decoding bus.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<fmt>
Discrete
{HEX|ASCii|DEC|BIN|}
ASCii
Remarks
HEX indicates Hexadecimal; DEC indicates Decimal; BIN indicates Binary.
Return
Format
The query returns HEX, ASC, DEC, or BIN.
Example
:BUS1:FORMat HEX /*Sets the display format of the bus to HEX.*/
:BUS1:FORMat? /*The query returns HEX.*/
:BUS<n>:EVENt
Syntax
:BUS<n>:EVENt <bool>
:BUS<n>:EVENt?
Description
Enables or disables the event table of the specified decoding bus; or queries the on/off
status of the specified decoding bus event table.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Remarks
Before using the command, enable the specified decoding bus.
Return
Format
The query returns 1 or 0.
Example
:BUS1:EVENt ON /*Enables the event table of the specified decoding bus.*/
:BUS1:EVENt? /*The query returns 1.*/