User manual
RIGOL Chapter 2 Command System
2-202 MSO1000Z/DS1000Z Programming Guide
:TRIGger:RS232:WHEN
Syntax :TRIGger:RS232:WHEN <when>
:TRIGger:RS232:WHEN?
Description Set or query the trigger condition in RS232 trigger.
Parameter
Name
Type
Range
Default
<when>
Discrete
{STARt|ERRor|PARity|DATA}
STARt
Explanation 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.
Return Format The query returns STAR, ERR, PAR, or DATA.
Example
:TRIGger:RS232:WHEN ERRor /*Set the trigger condition to error frame*/
:TRIGger:RS232:WHEN? /*The query returns ERR*/
Related
Command
:TRIGger:RS232:DATA
:TRIGger:RS232:PARity
Syntax :TRIGger:RS232:PARity <parity>
:TRIGger:RS232:PARity?
Description Set or query the parity type when the trigger condition is ERRor or PARity in RS232
trigger.
Parameter
Name
Type
Range
Default
<parity> Discrete {EVEN|ODD|NONE}
Error Frame: NONE
Check Error: ODD
Explanation When the trigger condition is PARity, the parity type cannot be set to NONE. At this
point, the default parity type is ODD.
Return Format The query returns EVEN, ODD, or NONE.
Example
:TRIGger:RS232:PARity EVEN /*Set the parity type to even*/
:TRIGger:RS232:PARity? /*The query returns EVEN*/
Related
Command
:TRIGger:RS232:WHEN