Instructions
Chapter 2 Command System  RIGOL 
MSO5000 Programming Guide  2-19   
:BUS<n>:RS232:PARity 
Syntax 
:BUS<n>:RS232:PARity <parity> 
:BUS<n>:RS232:PARity? 
Description 
Sets or queries the odd-even check mode of data transmission in RS232 decoding. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<parity> 
Discrete 
{NONE|ODD|EVEN} 
NONE 
Remarks 
  None: indicates that there is no parity bit in data transmission. 
  ODD: indicates the odd parity bit. The total count of occurrences of 1 in the data bit 
and check bit is an odd number. For example, when 0x55 (01010101) is sent, "1" 
should be added to the check bit. 
  Even: indicates the even parity bit. The total count of occurrences of 1 in the data 
bit and check bit is an even number. For example, when 0x55 (01010101) is sent, 
"0" should be added to the check bit. 
Return 
Format 
The query returns NONE, ODD, or EVEN. 
Example 
:BUS1:RS232:PARity ODD                /*Sets the odd-even check mode of data 
transmission in RS232 decoding to ODD.*/ 
:BUS1:RS232:PARity?                        /*The query returns ODD.*/ 
:BUS<n>:RS232:PACKet 
Syntax 
:BUS<n>:RS232:PACKet <bool> 
:BUS<n>:RS232:PACKet? 
Description 
Enables or disables the packet end during data transmission; or queries the status of 
packet end during data transmission. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<bool> 
Bool 
{{1|ON}|{0|OFF}} 
0|OFF 
Remarks 
When enabled, several data blocks will be combined based on the packet end. 
Return 
Format 
The query returns 1 or 0. 
Example 
:BUS1:RS232:PACKet ON            /*Enables the packet end during data transmission.*/ 
:BUS1:RS232:PACKet?                /*The query returns 1.*/ 










