User manual

RIGOL Chapter 2 Command System
2-10 MSO7000/DS7000 Programming Guide
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 label of the specified decoding bus.*/
:BUS1:EVENt? /*The query returns 1.*/
:BUS<n>:DATA?
Syntax
:BUS<n>:DATA?
Description
Reads the data in the decoding event table.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
Return
Format
Returns the data in the decoding event table with the following formats.
#9000000072PAL,
Time,Data,,
-1us,0,,
-990.3ns,1,,
-503.2ns,0,,
9.2ns,1,,
497.2ns,0,
Wherein, "#9000000072" is the TMC data block header, which is followed by the data
in the event table. The 9-digit data following #9 in the data block header indicates
the number of bytes of the effective data. "PAL" indicates the decoding type. The
available decoding type can also be RS232, I2C, SPI, or CAN. The data are separated
by commas, and will automatically go to the next line according to the line length
limit in the decoding list. The data value is related to the numeral system that you
have set.
Note: You can save all the data (except TMC data block header and decoding type,
e.g. #9000000072PAL) as the "*.csv" file and view the data in the form of a
list.
:BUS<n>:EEXPort
Syntax
:BUS<n>:EEXPort
Description
Exports the decoding information in the specified decoding bus event table in CSV form.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
Example
:BUS1:EEXPort C:/123.csv
/*Exports the decoding information in the bus event table to the local Disk C,
with the filename 123.csv.*/