EasyManua.ls Logo

Rigol DG800 Series - Page 96

Rigol DG800 Series
209 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
Loading...
RIGOL Chapter 2 Command System
2-82 DG800 Programming Guide
Example
:SOUR1:FUNC:RS232:BAUD 9600 /*Sets the RS232 baud rate of CH1 to 9600.*/
:SOUR1:FUNC:RS232:BAUD? /*Queries the RS232 baud rate of CH1 and the query returns 9600.*/
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit {NONE|ODD|EVEN}
[:SOURce[<n>]]:FUNCtion:RS232:CHECKBit?
Description
Sets the RS232 check bit of the specified channel.
Queries the RS232 check bit of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{NONE|ODD|EVEN}
Discrete
NONE|ODD|EVEN
NONE
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns NONE, ODD or EVEN.
Example
:SOUR1:FUNC:RS232:CHECKB ODD /*Sets the RS232 check bit of CH1 to ODD.*/
:SOUR1:FUNC:RS232:CHECKB? /*Queries the RS232 check bit of CH1 and the query returns ODD.*/
[:SOURce[<n>]]:FUNCtion:RS232:DATA
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:DATA {<value>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:RS232:DATA?
Description
Sets the RS232 data of the specified channel.
Queries the RS232 data of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<value>
Integer
0 to 255
0
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the RS232 data in integer.
Example
:SOUR1:FUNC:RS232:DATA 255 /*Sets the RS232 data of CH1 to255.*/
:SOUR1:FUNC:RS232:DATA? /*Queries the RS232 data of CH1 and the query returns 255.*/

Other manuals for Rigol DG800 Series

Related product manuals