Rigol DS7034 User Programming Manual page 33

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

Chapter 2 Command System
: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
<n>
<parity>
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
The query returns NONE, ODD, or EVEN.
Format
Example
:BUS1:RS232:PARity ODD
:BUS1:RS232:PARity?
: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
<n>
<bool>
Remarks
When enabled, several data blocks will be combined based on the packet end.
Return
The query returns 1 or 0.
Format
Example
:BUS1:RS232:PACKet ON
:BUS1:RS232:PACKet?
MSO7000/DS7000 Programming Guide
Type
Range
Discrete
{1|2|3|4}
Discrete
{NONE|ODD|EVEN}
/*Sets the odd-even check mode of data
transmission in RS232 decoding to Odd.*/
/*The query returns ODD.*/
Type
Range
Discrete
{1|2|3|4}
Bool
{{1|ON}|{0|OFF}}
/*Enables the packet end during data transmission.*/
/*The query returns 1.*/
RIGOL
Default
——
NONE
Default
——
0|OFF
2-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents