RIGOL Chapter 2 Command System
2-202 MSO1000Z/DS1000Z Programming Guide
:TRIGger:RS232:WHEN
:TRIGger:RS232:WHEN <when>
:TRIGger:RS232:WHEN?
Set or query the trigger condition in RS232 trigger.
{STARt|ERRor|PARity|DATA}
 STARt: trigger on the start frame position.
 ERRor: trigger when error frame is detected.
 PARity: trigger when check error is detected.
 DATA: trigger on the last bit of the preset data bits and even-odd check bits.
The query returns STAR, ERR, PAR, or DATA.
:TRIGger:RS232:WHEN ERRor /*Set the trigger condition to error frame*/
:TRIGger:RS232:WHEN? /*The query returns ERR*/
:TRIGger:RS232:PARity
:TRIGger:RS232:PARity <parity>
:TRIGger:RS232:PARity?
Set or query the parity type when the trigger condition is ERRor or PARity in RS232
trigger.
Error Frame: NONE
Check Error: ODD
When the trigger condition is PARity, the parity type cannot be set to NONE. At this
point, the default parity type is ODD.
The query returns EVEN, ODD, or NONE.
:TRIGger:RS232:PARity EVEN /*Set the parity type to even*/
:TRIGger:RS232:PARity? /*The query returns EVEN*/