User manual
Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-199
:TRIGger:RS232:PARity
Syntax
:TRIGger:RS232:PARity <parity>
:TRIGger:RS232:PARity?
Description
Sets or queries the check mode of RS232 trigger.
Parameter
Name
Type
Range
Default
<parity>
Discrete
{EVEN|ODD|NONE}
NONE
Return Format
The query returns EVEN, ODD, or NONe.
Example
:TRIGger:RS232:PARity EVEN /*Sets the check mode to Even.*/
:TRIGger:RS232:PARity? /*The query returns EVEN.*/
:TRIGger:RS232:STOP
Syntax
:TRIGger:RS232:STOP <bit>
:TRIGger:RS232:STOP?
Description
Sets or queries the stop bits of RS232 trigger.
Parameter
Name
Type
Range
Default
<bit>
Discrete
{1|1.5|2}
1
Return Format
The query returns 1, 1.5 or 2.
Example
:TRIGger:RS232:STOP 2 /*Sets the stop bits to 2.*/
:TRIGger:RS232:STOP? /*The query returns 2.*/
:TRIGger:RS232:DATA
Syntax
:TRIGger:RS232:DATA <data>
:TRIGger:RS232:DATA?
Description
Sets or queries the data value of RS232 trigger when the trigger condition is
"Data".
Parameter
Name
Type
Range
Default
<data>
Integer
0 to 2
n
- 1
0
Remarks
In the expression 2
n
-1, n indicates the current data width, and its available value
can be 5, 6, 7, or 8.
Return Format
The query returns an integer.
Example
:TRIGger:RS232:DATA 10 /*Sets the data value to 10.*/
:TRIGger:RS232:DATA? /*The query returns 10.*/