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 #32 background imageLoading...
Page #32 background image
RIGOL Chapter 2 Command System
2-18 MSO7000/DS7000 Programming Guide
:BUS<n>:RS232:BAUD
Syntax
:BUS<n>:RS232:BAUD <baud>
:BUS<n>:RS232:BAUD?
Description
Sets or queries the baud rate of data transmission in RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<baud>
Integer
1 bps to 20 Mbps
9600 bps
Remarks
If the baud rate is set to a value with "M", then "A" should be added at the end of the
value. For example, if you send 5 M, you need to send 5 MA.
Return
Format
The query returns an integer ranging from 1 bps to 20 Mbps.
Example
:BUS1:RS232:BAUD 4800 /*Sets the baud rate of data transmission in RS232
decoding to 4800 bps.*/
:BUS1:RS232:BAUD? /*The query returns 4800.*/
:BUS<n>:RS232:DBITs
Syntax
:BUS<n>:RS232:DBITs <bits>
:BUS<n>:RS232:DBITs?
Description
Sets or queries the data width of RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<bits>
Discrete
{5|6|7|8|9}
8
Return
Format
The query returns 5, 6, 7, 8, or 9.
Example
:BUS1:RS232:DBITs 7 /*Sets the data width of RS232 decoding to 7.*/
:BUS1:RS232:DBITs? /*The query returns 7.*/
:BUS<n>:RS232:SBITs
Syntax
:BUS<n>:RS232:SBITs <stop bits>
:BUS<n>:RS232:SBITs?
Description
Sets or queries the stop bits of each frame of data in RS232 decoding.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<stop bits>
Discrete
{1|1.5|2}
1
Return
Format
The query returns 1, 1.5, or 2.
Example
:BUS1:RS232:SBITs 2 /*Sets the stop bits of RS232 decoding to 2.*/
:BUS1:RS232:SBITs? /*The query returns 2.*/

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