Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-19
:BUS<n>:RS232:PARity
:BUS<n>:RS232:PARity <parity>
:BUS<n>:RS232:PARity?
Sets or queries the odd-even check mode of data transmission in RS232 decoding.
 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.
The query returns NONE, ODD, or EVEN.
: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
:BUS<n>:RS232:PACKet <bool>
:BUS<n>:RS232:PACKet?
Enables or disables the packet end during data transmission; or queries the status of
packet end during data transmission.
When enabled, several data blocks will be combined based on the packet end.
The query returns 1 or 0.
:BUS1:RS232:PACKet ON /*Enables the packet end during data transmission.*/
:BUS1:RS232:PACKet? /*The query returns 1.*/