User manual

RIGOL Chapter 2 Command System
2-200 MSO7000/DS7000 Programming Guide
:TRIGger:RS232:WIDTh
Syntax
:TRIGger:RS232:WIDTh <width>
:TRIGger:RS232:WIDTh?
Description
Sets or queries the data width of RS232 trigger when the trigger condition is
"Data".
Parameter
Name
Type
Range
Default
<width>
Discrete
{5|6|7|8}
8
Return Format
The query returns 5, 6, 7, or 8.
Example
:TRIGger:RS232:WIDTh 6 /*Sets the data width to 6.*/
:TRIGger:RS232:WIDTh? /*The query returns 6.*/
:TRIGger:RS232:BAUD
Syntax
:TRIGger:RS232:BAUD <baud>
:TRIGger:RS232:BAUD?
Description
Sets or queries the baud rate of RS232 trigger. The default unit is bps.
Parameter
Name
Type
Range
Default
<baud>
Integer
1 bps to 20 Mbps
9600 bps
Remarks
If the baud rate is set to a value with "M", then "A" should be added at the end of
the value. For example, if you send 5 M, you need to send 5 MA.
Return Format
The query returns an integer ranging from 1 bps to 20 Mbps.
Example
:TRIGger:RS232:BAUD 4800 /*Sets the baud rate to 4800bps.*/
:TRIGger:RS232:BAUD? /*The query returns 4800.*/
:TRIGger:RS232:LEVel
Syntax
:TRIGger:RS232:LEVel <level>
:TRIGger:RS232:LEVel?
Description
Sets or queries the trigger level of RS232 trigger. The unit is the same as that of the
current amplitude.
Parameter
Name
Type
Range
Default
<level>
Real
(-5 × VerticalScale - OFFSet) to
(5 × VerticalScale - OFFSet)
0 V
Remarks
For VerticalScale, refer to the :CHANnel<n>:SCALe command; for OFFSet, refer to
the :CHANnel<n>:OFFSet command.
Return
Format
The query returns the trigger level in scientific notation.
Example
:TRIGger:RS232:LEVel 0.16 /*Sets the trigger level to 160 mV.*/
:TRIGger:RS232:LEVel? /*The query returns 1.600000E-1.*/