Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-81
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.*/
[:SOURce[<n>]]:FUNCtion:RS232:DATABit
Syntax
[:SOURce[<n>]]:FUNCtion:RS232:DATABit {7|8}
[:SOURce[<n>]]:FUNCtion:RS232:DATABit?
Description
Sets the RS232 data bits of the specified channel.
Queries the RS232 data bits of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{7|8}
Discrete
7|8
7
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns 7 or 8.
Example
:SOUR1:FUNC:RS232:DATAB 7 /*Sets the RS232 data bit of CH1 to 7.*/