EasyManuals Logo
Home>Rigol>Test Equipment>DS7024

Rigol DS7024 User Programming Manual

Rigol DS7024
259 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Chapter 2 Command System RIGOL
MSO7000/DS7000 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.*/

Table of Contents

Other manuals for Rigol DS7024

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DS7024 and is the answer not in the manual?

Rigol DS7024 Specifications

General IconGeneral
BrandRigol
ModelDS7024
CategoryTest Equipment
LanguageEnglish

Related product manuals