EasyManua.ls Logo

Rigol DG800 Series - Page 97

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

Other manuals for Rigol DG800 Series

Related product manuals